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

Virtuoso AMS Environment User Guide

Variables for ams.env Files

amsEligibleViewTypes

Specifies the cellview types that trigger netlisting.

Syntax

amsDirect.vlog amsEligibleViewTypes string "list"

Values

 

list

A list of one or more of the following cellview types: schematic,

 

symbolic, maskLayout (extracted view only, based on the last

 

extraction timestamp), and netlist. Cellview types must be

 

separated by spaces in the list. If you do not specify a cellview

 

for netlisting (by using the amsdirect -VIew option, for

 

example), the AMS netlister generates netlists for each of the

 

cellview types included in the list. The default for list is

 

schematic.

Example

amsDirect.vlog amsEligibleViewTypes string "schematic symbolic"

Tells the AMS netlister to netlist schematic and symbolic cellviews (unless, for example, a view is specified by using theamsdirect -VIew option). This example sets the netlisting behavior for data netlisted into the Verilog-AMS language.

April 2004

380

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

amsExcludeParams

Lists parameters to be omitted from the netlist.

Syntax

amsDirect amsExcludeParams string "list"

Values

 

list

A list of parameters that are not to be netlisted. list is a string

 

of space-separated parameter names. The default is an empty

 

string.

Example

amsDirect amsExcludeParams string "fix unfix"

Tells the AMS netlister not to netlist the parameters fix and unfix when they are found associated with components in this design.

Note that if a cell has valid information in the ams section of the CDF simInfo, the contents of the simInfo are always obeyed, regardless of the value of the amsExcludeParams variable. For example, for a cell mycell, if param1 and param2 are in the instParameters field of the simInfo and param1 is also listed in the amsExcludeParams variable, then amsExcludeParams has no effect. When mycell (or any instance of mycell) is netlisted, param1 is always printed.

You can use the excludeParameters simInfo field in conjunction with the amsExcludeParams ams.env variable and the amsExcludeParams CDF parameter to precisely specify parameters at the cell, design, and library levels that are not to be netlisted. For more information, see “Specifying arametersP to be Excluded from Netlisting” on

page 137.

April 2004

381

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

amsExpScalingFactor

Controls the expansion of scaling factors for parameter values.

Syntax

amsDirect amsExpScalingFactor cyclic "no" | "dec" | "sci"

Values

 

no

Includes scaling factor suffixes in netlists without expanding

 

them. This is the default.

dec

Expands scaling factor suffixes in decimal notation.

sci

Expands scaling factor suffixes in scientific notation.

Description

Some simulators do not support scaling factors or support only a subset of the scaling factors used in designs. If the simulator you plan to use is one of these simulators, you can use the amsExpScalingFactor variable to expand scaling factors so the factors do not appear in netlists.

For example, Verilog-XL does not support scaling factor suffixes. If you intend to use Verilog-XL, you can use this variable so the AMS netlister expands suffixes when it generates netlists.

The following table shows the scaling factor suffixes and the target simulators that support them.

Scaling Factor Suffixes and Target Simulators

Suffix

 

Scaling

AEL

Verilog-AMS

Spectre

SKILL

cdsSpice

 

Factor (ex)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Y

Yotta

1024

See note below.

 

 

 

Z

Zetta

1021

See note below.

 

 

 

T

Tera

1012

yes

yes

yes

yes

yes

G

Giga

109

yes

yes

yes

yes

yes

April 2004

382

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

Scaling Factor Suffixes and Target Simulators, continued

Suffix

 

Scaling

AEL

Verilog-AMS

Spectre

SKILL

cdsSpice

 

Factor (ex)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M

Mega

106

yes

yes

yes

yes

yes

ME

Mega

106

yes

 

 

yes

yes

K

Kilo

103

yes

yes

yes

yes

yes

k

kilo

103

yes

 

yes

yes

yes

%

percent

10-2

yes

 

yes

yes

 

c

percent

10-2

 

 

yes

 

 

m

milli

10-3

yes

yes

yes

yes

yes

u

micro

10-6

yes

yes

yes

yes

yes

n

nano

10-9

yes

yes

yes

yes

yes

p

pico

10-12

yes

yes

yes

yes

yes

f

femto

10-15

yes

yes

yes

yes

yes

a

atto

10-18

yes

yes

yes

yes

yes

z

zepto

10-21

See note below.

 

 

 

y

yocto

10-24

See note below.

 

 

 

Note: AMS Designer always expands the Y, Z, z, and y scaling factors, using scientific notation, regardless of the value of the amsExpScalingFactor variable.

Example

A few examples of expanded scaling factor suffixes are shown below.

5.46T = 5.46e12 = 5,460,000,000,000

5.46G = 5.46e9 = 5,460,000,000

5.46M = 5.46e6 = 5,460,000

5.46K = 5.46e3 = 5,460

5.46% = 5.46e-2 = 0.0546

5.46u = 5.46e-6 = 0.00000546

April 2004

383

Product Version 5.3

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