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

Virtuoso AMS Environment User Guide

Variables for ams.env Files

screadns

Specifies a file that contains nodesets.

Syntax

amsDirect.simcntl screadns string "nsfile"

Values

nsfile

The path and name of a file that contains nodesets.

Description

This variable determines the value assigned to the tran readns option in a generated simulation control file.

Example

You set the variable

amsDirect.simcntl screadns string "/usr1/test6/SAR_A2D/tutorial_run/nsfile"

In response, the generated simulation control file contains

amsAnalysis tran

+stop = 0.003

+readns = "/usr1/test6/SAR_A2D/tutorial_run/nsfile"

April 2004

516

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

screlref

Specifies the reference to use for the relative convergence criteria.

Syntax

amsDirect.simcntl screlref cyclic "sigglobal" | "allglobal" | "pointlocal" |

"alllocal"

 

Values

 

sigglobal

Compares relative errors in each of the circuit signals to the

 

maximum for all signals at any previous point in time.

allglobal

Same as sigglobal except that it also compares the residues

 

(KCL error) for each node to the maximum of that node’s past

 

history.

pointlocal

Compares the relative errors in quantities at each node to that

 

node alone.

alllocal

Compares the relative errors at each node to the largest values

 

found for that node alone for all past time.

Description

This variable determines the value assigned to the tran relref option in a generated simulation control file.

Example

You set the variable

amsDirect.simcntl

screlref

cyclic "allglobal"

In response, the generated simulation control file contains

amsAnalysis tran

+stop = 0.001

+relref = allglobal

April 2004

517

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

screltol

Specifies the maximum relative tolerance for values computed in the last two iterations of a solution.

Syntax

amsDirect.simcntl screltol string "tolerance"

Values

 

tolerance

The maximum relative tolerance for values computed in the last

 

two iterations of a solution.

Description

This variable determines the value assigned to the options reltol option in a generated simulation control file.

Example

You set the variable

amsDirect.simcntl

screltol

string "0.15"

In response, the generated simulation control file contains

amsOptions options + reltol = 0.15

April 2004

518

Product Version 5.3

Virtuoso AMS Environment User Guide

Variables for ams.env Files

scrforce

Specifies the resistance to be used when forcing nodesets and node-based initial conditions.

Syntax

amsDirect.simcntl scrforce string "resistance"

Values

 

resistance

The resistance to be used when forcing nodesets and

 

node-based initial conditions.

Description

This variable determines the value assigned to the options rforce option in a generated simulation control file.

Example

You set the variable

amsDirect.simcntl

scrforce

string "1.5"

In response, the generated simulation control file contains

amsOptions options + rforce = 1.5

April 2004

519

Product Version 5.3

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