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

Virtuoso AMS Environment User Guide

Variables for ams.env Files

paramDefVals

Specifies a list of Verilog-AMS module parameters and their associated defaults.

Syntax

amsDirect.vlog paramDefVals string "{ ( [type:] parameter_name=value ) } "

Values

type

The type of parameter_name: integer or real.

parameter_name A Verilog-AMS module parameter.

value

The default associated with parameter_name.

Description

The AMS netlister uses this list of parameters when it generates the parameter list for the cellview that is being netlisted and defaults for one or more of those parameters do not appear in the design data. This variable does not affect the generation of the list parameters that are passed into an instantiated cell.

The AMS netlister assumes that all parameter names are in the CDBA name space.

The default for paramDefVals is an empty string.

Example

amsDirect.vlog paramDefVals string "(real:l=1.0)(count=0)(w=1.1)"

Specifies defaults for the parametersl, count, and w. The l parameter is specified as a real.

April 2004

464

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

paramGlobalDefVal

Specifies a global module parameter default to be used when a CDF value is not available and the AMS netlister cannot find the parameter name in theparamDefVals variable.

Syntax

amsDirect.vlog paramGlobalDefVal string "value"

Values

 

value

Specifies the global module parameter default to be used. The

 

default is 0.

Description

The AMS netlister uses this global value only when it generates the parameter list for the cellview that is being netlisted and defaults for one or more of those parameters do not appear in the design data. This variable does not affect the generation of the list parameters that are passed into an instantiated cell.

April 2004

465

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

pragma

Parses pragmas contained in HDL source files.

Syntax

amsDirect.vlog pragma boolean t | nil

Values

 

t

The compiler parses pragmas contained in HDL source files.

nil

The compiler does not parse pragmas contained in HDL source

 

files.

Example

amsDirect.vlog pragma boolean t

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

ncvlog -pragma

April 2004

466

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

processViewNames

Specifies the names of cellviews that are to be netlisted.

Syntax

amsDirect.vlog processViewNames string "list_of_view_names"

Values

list_of_view_names A list of view names separated by spaces. Cellviews with these names are netlisted. The default is an empty string.

Description

The following conditions trigger netlisting.

Changes to cellviews included in list_of_view_names while netlisting is enabled.

Changes to the CDF of cells containing any of the cellviews included in List_of_view_names while the netlistAfterCdfChange variable is set to t.

Using this variable is an alternative to specifying the eligible view types with amsEligibleViewTypes and the views to exclude from netlisting with excludeViewNames.

Example

amsDirect.vlog processViewNames string "sch1 sch[3-4]"

April 2004

467

Product Version 5.3

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