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

Virtuoso AMS Environment User Guide

Variables for ams.env Files

ncsimTcl

Controls whether the simulator opens a Tcl command window. A Tcl command window allows text-based interaction with the simulator.

This variable has an effect only when the ncsimGUI variable is set to nil.

Syntax

amsDirect.prep ncsimTcl boolean t | nil

Values

 

t

Opens the Tcl command window when the simulator runs.

nil

Runs the simulation in batch mode.This is the default.

Example

amsDirect.prep ncsimTcl boolean t

If the ncsimGUI variable is set to nil, this example directs the environment to run the simulation in Tcl mode.

April 2004

448

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

ncsimUnbuffered through ncsimUseAddArgs

The ams.env ncsim variables correspond to options used on the ncsim command. For information about an ncsim variable, see the information about the corresponding ncsim command option or options in chapter 9, of the NC-Verilog Simulator Help.

Table A-5 Mapping ams.env ncsim Variables to ncsim Command Options

ams.env Variable

ncsim Command Option

 

 

ncsimUnbuffered

-UNbuffered

ncsimUpdate

-UPdate

ncsimUseAddArgs

None. Determines whether additional

 

specified arguments are used on thencsim

 

command.

 

 

April 2004

449

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

ncvhdlArguments

Specifies arguments, in addition to the standard arguments, to be passed to thencvhdl compiler.

Syntax

amsDirect.vhdl ncvhdlArguments string "arguments"

Value

arguments

One or more arguments to be passed to the ncvhdl compiler.

Description

By default, when the AMS netlister runs the compiler to compile a VHDL module, it uses the command

ncvhdl -use5x -work lib

where lib is the working library.

You can use the ncvhdlArguments variable to pass additional arguments to the compiler.

Example

If the working library is myworklib, then using the variable

amsDirect.vhdl ncvhdlArguments string "-status"

runs the ncvhdl compiler with the command

ncvhdl -use5x -work myworklib -status

April 2004

450

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

ncvlogArguments

Specifies additional arguments to be passed to thencvlog compiler.

Syntax

amsDirect.vlog ncvlogArguments string "arguments"

Values

 

arguments

One or more arguments to be passed to the ncvlog compiler.

 

The default is an empty string.

Description

If arguments is an empty string, the ncvlog command includes just the arguments listed on the Compiler pane of the AMS Options window. You can use the ncvlogArguments variable with a non-empty string to pass additional arguments to the compiler.

Example

amsDirect.vlog ncvlogArguments string "-status"

Adds the -status argument to the other arguments normally used on the ncvlog command.

April 2004

451

Product Version 5.3

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