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

Virtuoso Schematic Composer User Guide

Symbol and Simulation Library Generator

Library Command File

The library command file is one master text file that contains all text information in the library programming environment needed for S/SLG. Because this file is the only input to S/SLG, library editing becomes essentially text editing. You can generate symbol and simulation views after you create the library command file and run S/SLG.

S/SLG can do the following:

Add or delete properties in the symbol or simulation view

Check for library consistency

Backannotate objects in a schematic

Specify timing parameters

Note: All Cadence SKILL capabilities are available in S/SLG. Refer to the Virtuoso Schematic Composer SKILL Functions Reference for details about programming in SKILL.

Running the Symbol and Simulation Library Generator

You can run S/SLG in one of two environments:

Graphic

Nongraphic

Running the Symbol and Simulation Library Generator in the Cadence Graphic Environment

S/SLG is integrated into the Cadence graphic environment. If you want to do symbol generation or backannotation, you must run S/SLG in the Cadence graphic environment. Refer to Figure C-1 on page 628 for an overview.

You can run S/SLG either by typing a function or a sequence of functions in the Command

Interpreter Window (CIW) or by creating a library command file.

When you create a library command file that contains S/SLG commands or SKILL functions, each command or function runs sequentially. You can load the file where you plan to save your generated symbol into S/SLG.

To load your file while you run S/SLG, do the following:

October 2002

626

Product Version 5.0

Virtuoso Schematic Composer User Guide

Symbol and Simulation Library Generator

Type the following function in the CIW:

lmLoadData( myFile.lm myLib )

where

lmLoadData opens your working library, loads your library command file, then closes your working library when you complete running S/SLG.

myFile.lm is your library command file.

myLib is your working library.

Output and Error Messages

An error ends execution. Output and error messages are displayed in the CIW during execution. An exit status of t indicates there are no output or error messages; nil indicates an error occurred. Error messages can be the result of syntax errors, insufficient arguments, or undefined parameters.

October 2002

627

Product Version 5.0

Virtuoso Schematic Composer User Guide

Symbol and Simulation Library Generator

Figure C-1 Diagram of Running S/SLG in the Cadence Graphic Environment

Method 1:

Enter lmOpenLib to open your working library, then enter one command or a sequence of commands in the CIW

Start S/SLG by typing any S/SLG command in the CIW

Method 2:

Create a library command file using

S/SLG or SKILL commands

Load the library command file into S/

 

 

 

 

 

 

 

 

S/SLG opens your

 

SLG; start S/SLG by typing

 

 

 

working library

 

lmLoadData in the CIW

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Symbol generation/

Timing specification

Consistency

 

modification

Backannotation

 

checking

 

 

 

Method 1:

 

Method 2:

Enter lmCloseLib to close your

 

lmLoadData closes your

working library in the CIW

 

working library

 

 

 

Running the Symbol and Simulation Library Generator in the Cadence Nongraphic Environment

You can run S/SLG in the Cadence nongraphic environment in a UNIX window. For running functions other than lmDefCell, run S/SLG in a UNIX window to display the output quickly.

Run the Cadence nongraphic program in a UNIX window to start interactive library editing; then type an S/SLG command or SKILL function.

To load a library command file and run all functions sequentially, do the following:

In a UNIX window, type the following:

lmLoadData( "myFile.lm" "myLib" )

where

October 2002

628

Product Version 5.0

Virtuoso Schematic Composer User Guide

Symbol and Simulation Library Generator

lmLoadData opens your working library, loads your library command file, then closes your working library when you complete running S/SLG.

myFile.lm is your library command file.

myLib is your working library.

Refer to Figure C-2 on page 629 for an overview of the above processes.

Figure C-2 Diagram of Running S/SLG in the Cadence Nongraphic Environment

 

 

 

 

 

 

 

 

 

Method 1: Execute Cadence

 

 

 

Method 2: Create a library command file that

 

nongraphic program in a UNIX

 

 

 

contains S/SLG commands or SKILL functions in

 

 

window

 

 

 

the UNIX window

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Start Cadence nongraphic program in a

 

 

 

 

Enter the command to open your

 

 

 

 

 

working library, then enter one

 

 

UNIX window. Type lmLoadData in a

 

 

 

S/SLG opens

 

command or a sequence of

 

 

UNIX window within Cadence

 

 

 

 

 

 

 

 

your working

 

commands in a

 

 

nongraphic environment to load the

 

 

 

 

 

 

 

 

library

 

UNIX window

 

 

library command file

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Timing

Property

Consistency

specifications

addition

checking

 

 

 

 

Method 2:

 

Method 1:

 

Enter lmCloseLib to

 

 

S/SLG closes your working

 

close your working

 

 

library

 

library in a UNIX

 

 

 

 

 

 

window

 

 

 

 

 

 

 

 

 

 

 

 

 

Output and Error Messages

Each function returns a running status. Output and error messages are displayed on the screen during execution. An exit status of t means that there are no output or error

October 2002

629

Product Version 5.0

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