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

Virtuoso AMS Environment User Guide

Variables for ams.env Files

cdsGlobalsView

Specifies the view for thecds_globals module created by AMS Design Prep.

Syntax

amsDirect.prep cdsGlobalsView string "view_name"

Values

 

view_name

The view to be used for the cds_globals module. The default

 

is an empty string.

Description

AMS Design Prep automatically generates the cds_globals module that contains the global signals. The cell name for the module is always cds_globals, but you can use this variable to specify the view name to be used.

Example

amsDirect.prep cdsGlobalsLib string "myglobelib" amsDirect.prep cdsGlobalsView string "globeview”

Tell AMS Design Prep to store the cds_globals module in the myglobelib library, in the cds_globals cell, and to use a view name of globeview. (For information about cdsGlobalsLib, see “cdsGlobalsLib” on page 391.)

April 2004

392

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

checkAndNetlist

Checks cellview data for Verilog-AMS compatibility and generates a Verilog-AMS netlist if no errors are found.

Syntax

amsDirect.vlog checkAndNetlist boolean t | nil

Values

 

t

Generates a netlist for the cellview if it does not find any errors

 

while checking cellview data.

nil

Does not check cellview data and does not generate a netlist.

 

This is the default.

Description

You can use this variable to create error-dependent netlists in Verilog-AMS. The checkAndNetlist variable takes precedence over the checkOnly variable.

Example

amsDirect.vlog checkOnly boolean nil amsDirect.vlog checkAndNetlist boolean t

Tell the AMS netlister to generate a Verilog-AMS netlist for the cellview if there are no errors. In this example, the nil value for the checkOnly variable is ignored because the t value for the checkAndNetlist variable takes precedence.

April 2004

393

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

checkOnly

Checks cellview data for Verilog-AMS compatibility without generating a Verilog-AMS netlist.

Syntax

amsDirect.vlog checkOnly boolean t | nil

Values

 

t

Checks cellview data, but does not generate a netlist for the

 

cellview.

nil

Does not check cellview data or generate a netlist. This is the

 

default.

Description

You can use this variable to check cellviews in Verilog-AMS. The checkAndNetlist variable takes precedence over the checkOnly variable.

Example

amsDirect.vlog checkOnly boolean t

Tells the AMS netlister to check a cellview for Verilog-AMS compliance but not to create a netlist for the cellview.

April 2004

394

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

checktasks

Checks for the presence of non-predefined system tasks or functions in the source code.

Syntax

amsDirect.vlog checktasks boolean t | nil

Values

 

t

Checks for the presence of non-predefined system tasks or

 

functions in the source code.

nil

Does not check for the presence of non-predefined system tasks

 

or functions in the source code.This is the default.

Example

amsDirect.vlog checktasks boolean t

Tells AMS Design Prep to compile Verilog files with the-checktasks option. As a result, the generated command might look like this.

ncvlog -checktasks

April 2004

395

Product Version 5.3

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