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

Virtuoso Schematic Composer User Guide

Symbol and Simulation Library Generator

lmOpenLib

lmOpenLib(

t_lib [t_path | nil [t_config | nil [t_mode | nil] ] ]

)

=> t/nil

Description

Opens a library.

Note: Call lmOpenLib before starting any S/SLG command and call lmCloseLib when you are done if you are not using lmLoadData to load the library command file.

Arguments

 

t_lib

Working library name.

t_path

Search path of the working library. If you specify a null string or

 

nil, the program searches paths previously set up by

 

dbSetPath for the named library.

t_config

Configuration name, which lets you set up the working context of

 

the library. If you specify a null string or nil, the program uses

 

the default configuration.

t_mode

Valid Values: r (read only), a (append), w (write only) Default: r

Example

 

lmOpenLib( "myLib" )

 

Opens a library in read mode, where myLib is your working library.

October 2002

648

Product Version 5.0

Virtuoso Schematic Composer User Guide

Symbol and Simulation Library Generator

lmPrintLibTermProp

lmPrintLibTermProp( <view name> [<filename>]

)

Description

Prints terminal properties of the specified view for each cell in the current library.

Arguments

 

view name

<view list> := <view name> | t | (<view name> …

 

<view name>)

filename

Name of a file where the printout is stored. If not specified, output

 

is displayed on the screen.

Example

lmPrintLibTermProp( symbol )

Prints all terminal properties of the symbol view for each cell in the current library.

October 2002

649

Product Version 5.0

Virtuoso Schematic Composer User Guide

Symbol and Simulation Library Generator

lmPrintLibViewProp

lmPrintLibViewProp( <view name> [<filename>]

)

Description

Prints properties of the specified view for each cell in the current library.

Arguments

 

view name

Default: symbol

filename

Name of a file where the printout is stored. If not specified, output

 

is displayed on the screen.

Examples

lmPrintLibViewProp( symbol )

Prints properties of the symbol view for each cell in the current library.

lmPrintLibViewProp( symbol "symbol.lil" )

Stores output in the filesymbol.lil.

October 2002

650

Product Version 5.0

Virtuoso Schematic Composer User Guide

Symbol and Simulation Library Generator

lmPrintTerm

lmPrintTerm( <cell name> <view list> [<filename>]

)

Description

Prints names, types, and widths of all terminals of the specified cellviews.

Arguments

 

cell name

Optional only when lmPrintTerm is used in lmDefCell.

view list

<view list> := <view name> | t | (<view name> …

 

<view name>)

filename

If specified, the output is put into the named file; otherwise, the

 

output is displayed on the screen.

Example

lmPrintTerm( list(“nand2” “symbol”) )

Prints names, types and widths of all terminals of the nand2 symbol cellview.

See pcr 311494

October 2002

651

Product Version 5.0

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