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

Virtuoso AMS Environment User Guide

Variables for ams.env Files

allowUndefParams

Controls whether undeclared parameters can be overridden.

Syntax

amsDirect.prep allowUndefParams boolean t | nil

Values

 

t

The elaborator allows undeclared parameters to be overridden.

 

This is the default.

nil

The elaborator stops when it encounters a value override for an

 

undeclared parameter.

Description

By default, the elaborator reports an error and stops when it encounters a value override for an undeclared parameter. Specifying t for the allowUndefParams variable tells the elaborator to allow undeclared parameters to be overridden.

Example

amsDirect.prep allowUndefParams boolean t

Tells the elaborator to permit overriding the values of undeclared parameters, such as by using a defparam statement or by overriding the value when an instance is declared.

April 2004

376

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

amsCompMode

Controls whether the AMS environment supports certain properties used in legacy VHDL modules. Note, however, that the amsCompMode variable is not supported in this release.

Syntax

amsDirect amsCompMode boolean t | nil

Values

 

t

Specifies that certain properties used in legacy VHDL modules

 

are to be supported by the AMS environment.

nil

Specifies that certain properties used in legacy VHDL modules

 

are not to be supported by the AMS environment.

Description

The following legacy properties are supported by the AMS environment if the amsCompMode variable is set to t. If the variable is set to nil, the properties are ignored and omitted from the netlist.

vhdlAttributeDefList

vhdlComponentDecl

vhdlFormalPortFuncName

vhdlPackageComponents

vhdlPackageNames

April 2004

377

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

amsDefinitionViews

Specifies a list of views that can be used to determine the vectored terminal range direction and terminal order for cellviews being netlisted. This capability is useful when the cellview being netlisted needs to be netlisted in accordance with another view of the cell, such as the placed master. AMS Designer does not provide a graphical interface for setting this variable.

To use the amsDefinitionViews list, the netlister

1.Determines whether there is a termOrder property for the cellview being netlisted. If so, that property determines the vectored terminal range direction and terminal order and the amsDefinitionViews list has no effect.

2.Determines whether the first listed view exists. If it does, no more views are considered.

If the first view does not exist, the search through the list continues until the netlister finds a view that exists or reaches the end of the list.

3.If the identified existing view has aportOrder property, uses that information to determine the vectored terminal range direction and terminal order of the cellview being netlisted. If the portOrder property does not exist, the netlister checks the view for vectored terminals used in their entirety and uses that ordering. If the ordering is still not determined for one or more terminals, the ordering specified by theamsLSB_MSB environment variable is used.

4.If none of the listed views exists, uses the portOrder property of the cellview being netlisted (if that cellview has a portOrder property) to determine the vectored terminal range direction and terminal order. If the portOrder property does not exist, the netlister checks the cellview being netlisted for vectored terminals used in their entirety and uses that ordering. If the ordering is still not determined for one or more terminals, the ordering specified by theamsLSB_MSB environment variable is used.

Syntax

amsDirect.vlog amsDefinitionViews string "list"

Values

 

list

A string of space-separated views to be consulted for terminal

 

order and vectored terminal range directions. The view names

 

are considered to be in the CDBA namespace. Any included

 

views that are created or imported by the CIW must be

 

accompanied by a shadow CDBA. The default value is an empty

 

string.

April 2004

378

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

Example

amsDirect.vlog amsDefinitionViews string "symbol verilog"

April 2004

379

Product Version 5.3

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