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

Virtuoso AMS Environment User Guide

Variables for ams.env Files

analogControlFile

Specifies the analog simulation control file to be used.

Syntax

amsDirect.prep analogControlFile string "file"

Values

 

file

The analog control file to be used. Iffile is specified with an

 

absolute path, the analog control file is stored at that location. If

 

file is specified with a relative path, the path is determined

 

relative to the run directory (not to the current working directory).

 

The default is an empty string, which means that the value that

 

appears in the AMS Run Simulation form is runDir/

 

topLevelCell.scs.

Example

amsDirect.prep analogControlFile string "sch.scs"

April 2004

388

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

bindCdsAliasLib

Adds the library_binding = "basic" attribute to instances of the cds_alias module that the AMS netlister adds to netlists.

This attribute specifies the library binding for instances of thecds_alias module. This specification is necessary when thebasic library is not included in the Cadence hierarchy editor Library List. Regardless of the setting of the bindCdsAliasLib variable, the basic library, which contains the cds_alias module, must be defined in thecds.lib file.

Syntax

amsDirect.vlog bindCdsAliasLib boolean t | nil

Values

 

t

Adds the library_binding = "basic" attribute to

 

automatically inserted instances of the cds_alias module.

 

This is the default.

nil

Does not add the library_binding attribute to instances of

 

the cds_alias module.

Examples

The variable

amsDirect.vlog bindCdsAliasLib boolean t

tells the AMS netlister to add the library_binding attribute to automatically inserted instances of the cds_alias module, producing a statement similar to the following:

cds_alias #(.width(1)) (* integer library_binding = "basic"; *) ams_alias_inst_0 (net015, net014[0]);

The variables

amsDirect.vlog bindCdsAliasLib boolean t amsDirect.vlog bindCdsAliasView boolean t

tell the AMS netlister to add the library_binding and view_binding attributes to automatically inserted instances of the cds_alias module, producing a statement similar to the following:

cds_alias #(.width(1)) (* integer library_binding = "basic"; integer view_binding = "functional"; *) ams_alias_inst_0 (net015,net014[0]);

April 2004

389

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

bindCdsAliasView

Adds the view_binding = "functional" attribute to instances of the cds_alias module that the AMS netlister adds to netlists.

This attribute specifies the view binding for instances of thecds_alias module. This specification is necessary when thefunctional view is not included in the Cadence hierarchy editor View List. Regardless of the setting of the bindCdsAliasView variable, the basic library, which contains the cds_alias module, must be defined in thecds.lib file.

Syntax

amsDirect.vlog bindCdsAliasView boolean t | nil

Values

 

t

Adds the view_binding = "functional" attribute to

 

automatically inserted instances of the cds_alias module.

 

This is the default.

nil

Does not add the view_binding attribute to instances of the

 

cds_alias module.

Examples

amsDirect.vlog bindCdsAliasView boolean t

Tells the AMS netlister to add the view_binding attribute to automatically inserted instances of the cds_alias module, producing a statement similar to the following:

cds_alias #(.width(1)) (* integer view_binding = "functional"; *) ams_alias_inst_0 (net015, net014[0]);

The variables

amsDirect.vlog bindCdsAliasLib boolean t amsDirect.vlog bindCdsAliasView boolean t

tell the AMS netlister to add the library_binding and view_binding attributes to automatically inserted instances of the cds_alias module, producing a statement similar to the following:

cds_alias #(.width(1)) (* integer library_binding = "basic"; integer view_binding = "functional"; *) ams_alias_inst_0 (net015,net014[0]);

April 2004

390

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

cdsGlobalsLib

Specifies the library to hold thecds_globals module created by AMS Design Prep.

Syntax

amsDirect.prep cdsGlobalsLib string "lib_name"

Values

 

lib_name

The library to hold 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 fixed, but you can use this variable to specify the library name.

Example

amsDirect.prep cdsGlobalsLib string "myglobelib"

Tells AMS Design Prep to store the cds_globals module in the myglobelib library.

April 2004

391

Product Version 5.3

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