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

 

Virtuoso Schematic Composer User Guide

 

Customizing the Schematic Composer

 

 

Arguments

 

PROBE_FORMAT

The format string that appears in the cyclic field of the create

 

display box form. It has three special format variables: name,

 

state, and time.

PROBE_MASTER

Each PROBE_MASTER value is a list of three elements that define

 

the library, cell, and view names of a probe symbol.

Example

schSimProbeMasters = list(

list("<state>" list("basic" "simState" "symbol")) list("<time>:<state>" list("basic" "simState" "symbol")) list("<name>=<state>" list("basic" "simState" "symbol")) list("<name>=<time>:<state>" list("basic" "simState"

"symbol"))

)

View Name Masters Variable

schViewMasters

Sets the default view used for translation on all Create Cellview forms.

Cellview From Cellview

To edit this variable, you need to open the configuration file. You can add or delete choices any time before you execute any schematic functionality in an interactive session.

October 2002

509

Product Version 5.0

Virtuoso Schematic Composer User Guide

Customizing the Schematic Composer

Standard Structure

list(

list( VIEW_NAME TRANSLTE_TO TRANSLATE_FROM ) list( VIEW_NAME TRANSLTE_TO TRANSLATE_FROM )

...

)

Arguments

 

VIEW_NAME

The view name to be translated from or to.

TRANSLATE_TO

The name of the SKILL function for translating from this view to

 

a pin list.

TRANSLATE_FROM

The name of the SKILL function for translating from a pin list to

 

this view.

If a translation routine is nil, translation in that direction is undefined.

Synopsis of Translation Function

View to pinlist: funcName(t_libName t_cellName t_viewName) => l_pinList

Pinlist to view: funcName(t_libName t_cellName t_viewName l_pinList) => t/ nil

t_libName, t_cellName, t_viewName: Defining the library, cell, and view names.

l_pinList: A DPL list describing the cellview ports, cellview properties, and port properties in the following format:

<l_pinList>

:= ( nil ports <portList> [props <propList>] )

<portList>

:= ( <port> [ <portList> ] )

<port>

:= ( nil name "termName" direction "termDir"

 

[prop <propList>] [pins <pinList>] )

<propList>

:= ( <prop> [ <propList> ] )

<prop>

:= ( nil s_propName t_propValue s_propName

 

t_propValue )

<pinList>

:= ( <pin> [ <pinList> ] )

<pin>

:= ( nil name "pinName" accessDir "pinAccessDir"

 

[prop <propList>] )

Example

pinList = list(nil

’ports list(

list(nil ’name "clock" ’direction "input")

October 2002

510

Product Version 5.0

Virtuoso Schematic Composer User Guide

Customizing the Schematic Composer

list(nil ’name "a0" ’direction "output" ’prop list(nil ’delay 55.0))

)

‘prop list(nil ’partName "count" ’myProp 5)

)

Note: veriloga view name entry was new for the 4.4.1 release.

if( schExistsEditCap(nil) then

 

schViewMasters = list(

 

list("schematic"

"schSchemToPinList" "schPinListToSchemGen")

list("symbol"

"schSymbolToPinList"

"schPinListToSymbolGen")

list("functional"

"schVerilogToPinList" "schPinListToVerilog")

list("behavioral"

"schVerilogToPinList" "schPinListToVerilog")

list("system" "schVerilogToPinList" "schPinListToVerilog")

list("veriloga" "schVerilogAToPinList"

"schPinListToVerilogA");

list("layout" "schLayoutToPinList" nil)

 

)

else

schViewMasters = list(

list("schematic" "schSchemToPinList" "schPinListToSchem") list("symbol" "schSymbolToPinList" "schPinListToSymbolGen")

)

)

View Master Options Variable

schViewMastersOptionFunc

The text-to-symbol generator (TSG) uses this variable to determine whether the creation function of a particular destination cellview (in this case, symbol) has an options form.

Cellview From Cellview

myLib

decoder

October 2002

511

Product Version 5.0

Virtuoso Schematic Composer User Guide

Customizing the Schematic Composer

For example, when you choose Edit Options on the Cellview From Cellview form and you want to create a symbol cellview, the Symbol Generation Options form appears.

To edit the schViewMastersOptionFunc variable, you need to open the configuration file.

Standard Structure

list(

list( VIEW_NAME OPTIONS_FUNC )

...

)

Note: veriloga view name entry was new for the 4.4.1 release.

if( isCallable(‘schPinListToVerilog) then schViewMastersOptionFunc = list(

list("schematic"

nil)

list("symbol"

"schDisplaySymbolTemplateForm")

list("functional"

nil)

list("behavioral"

nil)

list("system"

nil)

list("veriloga"

nil)

list("abel"

nil)

)

 

else

 

schViewMastersOptionFunc = list(

list("schematic"

nil)

list("symbol"

"schDisplaySymbolTemplateForm")

list("abel"

nil)

)

 

)

 

Zone Formats Variable

schZoneFormatString schZoneFormatValue

To edit these variables, you need to open the configuration file. You can add or delete choices any time before you execute any schematic functionality in an interactive session.

These global variables specify the format of the pin cross-reference information, which specifies pin locations by sheet numbers,X and Y zones. The schZoneFormatString and schZoneFormatValue variables are used when creating pin cross-references by the Sheet – Cross Reference command and when parsing pin cross-references by the Sheet

– Go To Pin command.

The schZoneFormatString variable specifies the formatting information for the sheet number, Y zone, and X zone. The schZoneFormatValue variable specifies the order of the sheet number, Y zone, and X zone in the schZoneFormatString formatting string.

For example, the 3B2 pin cross-reference specifies a reference to a pin located in zone B2 in sheet 3.

October 2002

512

Product Version 5.0

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