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

Virtuoso AMS Environment User Guide

SKILL Functions and Customization Variables

amsUIRunNetlisterForm

amsUIRunNetlisterForm()

Description

Pops up the AMS Netlister form, which is used to run the AMS Netlister on specified cellviews.

Arguments

None.

April 2004

626

Product Version 5.3

Virtuoso AMS Environment User Guide

SKILL Functions and Customization Variables

ddsCvtAMSTranslateCell

ddsCvtAMSTranslateCell( b_cellId g_overwriteAMS l_viewList

[ ?setPrimitive g_setPrimitive ]

)

Description

Given a DDPI cell ID, this function translates any existing Spectre simulation information for the cell to AMS simulation information. In the process, the otherParameters, instParameters, termOrder, componentName, and propMapping fields of the Spectre simulation information are copied to the AMS simulation information.

In addition, this function might create the following new fields:

stringParameters

referenceParameters

enumParameters

arrayParameters

extraTerminals

This function categorizes parameters into stringParameters, referenceParameters, enumParameters, arrayParameters, and extraTerminals by examining the netlistProcedure listed in the Spectre simulation information of the cell.

This function can also set the isPrimitive field in the AMS simulation information.

Arguments

 

b_cellId

The cell ID obtained using DDPI.

g_overwriteAMS

If t, existing AMS simulation is overwritten. If nil, existing AMS

 

simulation information is not modified.

l_viewList

A list of view names, for example, '("spectre"). Spectre

 

simulation information is translated to AMS simulation

 

information only if the cell has at least one view from this list.

April 2004

627

Product Version 5.3

Virtuoso AMS Environment User Guide

SKILL Functions and Customization Variables

g_setPrimitive nil: Do not set isPrimitive.

’model: set isPrimitive if model* exists in AMS simulation information..’spectreView: set isPrimitive if cell has a spectre view.’modelAndSpectreView: set isPrimitive if cell has a spectre view and model* exists in the AMS simulation information

Notes

Converting simulation information usually requires editing the AMS simulation information. This function does not fill in theisPrimitive field of the AMS simulation information. Editing is definitely required if thenetlistProcedure specified in the Spectre section of the simulation information is not one of the following:

spectreCCPrim

spectreFsrcPrim

spectreMindPrim

spectreNportPrim

spectrePolyCntrlPrim

spectrePortPrim

spectrePortSrcPrim

spectrePwlsrcPrim

spectreSCCPrim

spectreSVCPrim

spectreSrcPrim

spectreVandISourcePrim

spectreWindingPrim

See Appendix B, “UpdatingLegacy SimInfo for Analog Primitives” for more details about AMS simulation information.

Examples

To convert the Spectre simulation information of mylib.mycell to AMS simulation information:

April 2004

628

Product Version 5.3

Virtuoso AMS Environment User Guide

SKILL Functions and Customization Variables

cellId = ddGetObj( "mylib" "mycell" ) ddsCvtAMSTranslateCell( cellId nil nil )

April 2004

629

Product Version 5.3

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