Languages

CommunityCategory: GLISTERImporting a SystemVerilog/XMODEL source file into a Cadence Virtuoso cellview

XMODEL GLISTER

Importing a SystemVerilog/XMODEL source file into a Cadence Virtuoso cellview

SA Support Team Staff 2020-06-30

Please explain the steps to import a SystemVerilog or XMODEL source file (.sv file) into a Cadence Virtuoso cellview.

1 Answers
Best Answer
SA Support Team Staff 2020-06-30

There are multiple ways of importing an existing SystemVerilog or XMODEL source file into an 'xmodel' cellview in the Cadence design database: 1) using the 'Import' menu command from the Command Interpreter Window (CIW), 2) using the 'New→Cellview' menu command from the Library Manager, and 3) using the xmodelImportCellView() SKILL API function.

1. Using the 'Import' menu command from the Command Interpreter Window (CIW)

1) Select the File→Import→XMODEL pull-down menu from the CIW. An Import XMODEL Source dialog will appear as shown below.

2) Select the target library of the cellview and the source file. Check the Create Symbol option if you want to create a symbol view as well.
3) Click "OK" and check if importing is completed successfully.

2. Using the 'New→Cellview' menu command from the Library Manager

1) Open the Library Manager and select the File→New→Cellview pull-down menu. A New File dialog will appear as shown below.

2) Select the target library and type in the cell name and view name of the 'xmodel' cellview.
3) Choose "xmodel" and "XMODEL IDE" for the Type and Application fields, respectively.
4) Click "OK". When a Choose an XMODEL Source File dialog appears, select the desired source file and click "Open". GLISTER will then import the source file while creating a new cellview.

3. Using the xmodelImportCellView() SKILL API function

GLISTER provides a SKILL API function named xmodelImportCellView(), which has the following basic usage:

xmodelImportCellView( srcFile libName [cellName] [viewName] [genSymbol] )

Here, the optional argument genSymbol with a possible value of t or nil indicates whether to create a new symbol or not, respectively (default: t). For example, to import a source file named mycell.sv into a cellview mylib.mycell:xmodel without generating a new symbol, you can execute the following command:

xmodelImportCellView( "mycell.sv" "mylib" "mycell" "xmodel" nil )

Using this SKILL API function is handy especially when importing many source files at once. For more information on this xmodelImportCellView() SKILL API function, please refer to the GLISTER User Guide (link).

GLISTER XMODEL

SystemVerilog 또는 XMODEL 소스 파일을 Cadence Virtuoso 상의 cellview로 import하는 방법

SA Support Team Staff 2020-06-30

SystemVerilog 또는 XMODEL 소스 파일을 Cadence Virtuoso 상의 cellview로 import하는 방법을 알려주세요.

1 Answers
Best Answer
SA Support Team Staff 2020-06-30

There are multiple ways of importing an existing SystemVerilog or XMODEL source file into an 'xmodel' cellview in the Cadence design database: 1) using the 'Import' menu command from the Command Interpreter Window (CIW), 2) using the 'New→Cellview' menu command from the Library Manager, and 3) using the xmodelImportCellView() SKILL API function.

1. Using the 'Import' menu command from the Command Interpreter Window (CIW)

1) Select the File→Import→XMODEL pull-down menu from the CIW. An Import XMODEL Source dialog will appear as shown below.

2) Select the target library of the cellview and the source file. Check the Create Symbol option if you want to create a symbol view as well.
3) Click "OK" and check if importing is completed successfully.

2. Using the 'New→Cellview' menu command from the Library Manager

1) Open the Library Manager and select the File→New→Cellview pull-down menu. A New File dialog will appear as shown below.

2) Select the target library and type in the cell name and view name of the 'xmodel' cellview.
3) Choose "xmodel" and "XMODEL IDE" for the Type and Application fields, respectively.
4) Click "OK". When a Choose an XMODEL Source File dialog appears, select the desired source file and click "Open". GLISTER will then import the source file while creating a new cellview.

3. Using the xmodelImportCellView() SKILL API function

GLISTER provides a SKILL API function named xmodelImportCellView(), which has the following basic usage:

xmodelImportCellView( srcFile libName [cellName] [viewName] [genSymbol] )

Here, the optional argument genSymbol with a possible value of t or nil indicates whether to create a new symbol or not, respectively (default: t). For example, to import a source file named mycell.sv into a cellview mylib.mycell:xmodel without generating a new symbol, you can execute the following command:

xmodelImportCellView( "mycell.sv" "mylib" "mycell" "xmodel" nil )

Using this SKILL API function is handy especially when importing many source files at once. For more information on this xmodelImportCellView() SKILL API function, please refer to the GLISTER User Guide (link).