Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
AMS.pdf
Скачиваний:
70
Добавлен:
05.06.2015
Размер:
2.68 Mб
Скачать

Virtuoso AMS Environment User Guide

Variables for ams.env Files

simRunDirLoc

Specifies the default directory to contain run directories.

Syntax

amsDirect simRunDirLoc string "location"

Values

 

location

The path and name of the default directory to contain run

 

directories. The location string can contain shell environment

 

variables. If location contains a relative path, the path is

 

evaluated relative to the directory where the Cadence software

 

(for example, icms or cdsHierEditor) is started.

 

The default value for location is an empty string, which

 

means that the current working directory is the default directory

 

to contain run directories.

Description

The AMS environment allows you to designate one or more run directories. You make those designations relative to the directory specified by thesimRunDirLoc variable.

Example

amsDirect simRunDirLoc string "$PROJECT/$BLOCK"

If the simRunDirLoc variable is set as shown, and the shell variables $PROJECT and $BLOCK are set to /newChip and comparator, respectively, the default directory to contain run directories is set to /newChip/comparator.

April 2004

548

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

simVisScriptFile

Specifies a script file to be run at the beginning of simulation.

Syntax

amsDirect.prep simVisScriptFile string "script_file"

Values

 

script_file

The script file to be run at the beginning of simulation. If

 

script_file uses a relative path, the ncsim tool looks for

 

the file relative to the run directory. The default is an empty string.

Example

amsDirect.prep simVisScriptFile string "demo.tcl"

Tells the AMS simulator to run the demo.tcl script before starting the simulation.

April 2004

549

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

status

Syntax

amsDirect.vlog status boolean t | nil

Values

t

nil

This is the default.

April 2004

550

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

templateFile

Specifies a file whose contents are to be incorporated into the header of newly generated netlists.

Syntax

amsDirect.vlog templateFile string "text_file"

Values

 

text_file

Specifies the path and filename of a text file whose contents are

 

to be used in netlist headers. The default is an empty string. The

 

file contents are incorporated into the netlist header only when

 

the headerText variable has the value "file". For more

 

information, see “headerTxt” on page 408.

Example

 

Specifying the variable

 

amsDirect.vlog templateFile string "./ASICheader"

where the file namedASICheader contains the following text

//Module produced by

//ASIC Team: Ocelot

//San Jose Development Center

inserts lines similar to the following at the top of each newly generated netlist.

//Verilog-AMS netlist generated by the AMS netlister, version 4.4.6.100.43.

//Cadence Design Systems, Inc.

//Module produced by

//ASIC Team: Ocelot

//San Jose Development Center

April 2004

551

Product Version 5.3

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]