Product Documentation
VHDL In for Virtuoso Design Environment User Guide and Reference
Product Version IC23.1, June 2023

1


Getting Started with VHDL In

This chapter discusses the following:

Introduction

You can use VHDL In in the following modes:

Either way, you must set up your library environment before you can use VHDL In.

Setting Up the Library Environment

To set up the library environment required for VHDL In, you install the latest Cadence software in the installation directory and set up a cds.lib file. The cds.lib file includes the libraries you need to import designs.

Setting Up the cds.lib File

Create the cds.lib file in your home directory or the directory in which you run Cadence software.

In the cds.lib file, you include a list of paths to

You can add the required reference libraries and additional libraries you need by using a text editor or by using the Virtuoso® Design Environment CIW.

You can create a new library in the CIW without creating a cds.lib file beforehand. In this case, the Library Manager tool creates a cds.lib file in the directory where you started VHDL In. The Library Manager tool creates additional entries in the cds.lib file for each library or design that you add or create in the CIW.

The syntax of entries for required and additional libraries in the cds.lib file is the same whether the entries are created by you or by the Library Manager tool. The syntax for an entry is

DEFINE library_name absolute_path/library_name

Using the Text Editor

You can use a text editor in an xterm window to

Be sure to enter the paths to the libraries in the same case as they occur, so that these libraries can be found.

  1. Use your text editor to create the cds.lib file and open it for editing.
    This example shows the command for the vi editor.
    vi cds.lib
  2. Include the following set of reference libraries in your cds.lib file.(Use uppercase and lowercase characters precisely as you see here.)
    <dfII_install_dir> is a variable signifying the particular path you use for the Cadence installation directory.
    DEFINE basic <dfII_install_dir>/tools/dfII/etc/cdslib/basic
    DEFINE sample <dfII_install_dir>/tools/dfII/samples/cdslib/sample
    DEFINE US_8ths <dfII_install_dir>/tools/dfII/etc/cdslib/sheets/US_8ths
    DEFINE std <IUS_install_dir>/tools/inca/files/STD
    DEFINE ieee<IUS_install_dir>/tools/inca/files/IEEE
  3. Add additional libraries you want to use.
    Example entries in a cds.lib file for additional design libraries are
    DEFINE adder /usr/designer/data/4.4.1/adder
    DEFINE mixed /usr/designer/data/4.4.1/mixed
    DEFINE msheet /usr/designer/data/4.4.1/msheet
  4. Write and quit the file.

Using the CIW

You can use the CIW to create a cds.lib file and add libraries to the file. Use the Library Path Editor form (labeled cdsLibEditor) to add the required reference libraries. You can use either the Library Path Editor form or the New Library form to add your own libraries to the cds.lib file.

If you create a new library in the New Library form without creating a cds.lib file beforehand, the Library Manager tool creates a cds.lib file in the directory where you started VHDL In. The Library Manager tool creates entries in the cds.lib file for each library or design that you add or create in the CIW.

If you use other Cadence applications (and have more than one cds.lib file) in addition to VHDL In, be sure that you start Virtuoso® Design Environment from a directory that contains the cds.lib file you want to use for VHDL In.

Adding the Required Reference Libraries or Additional Libraries

Use the Library Path Editor form in the CIW to:

To use the Library Path Editor form:

  1. Enter in an xterm window
    virtuoso &
    The CIW appears.
  2. In the CIW, select Tools – Library Path Editor
    The Library Path Editor form appears.
    This form displays any libraries currently in your cds.lib file.
  3. In the Library and Path text fields, enter the library name and path for the required reference libraries, or for additional libraries you want to use.
    Use lowercase for the IEEE library name in the Library field, but use uppercase for the IEEE library name in the Path field. This way, you accommodate the name mapping that the parser performs on the reference libraries when it parses a design you are importing.
  4. Select File – Exit.

Adding Only Additional Libraries

You can use the New Library form (in addition to the Library Path Editor form) to add additional design libraries to the cds.lib file.

  1. Enter in an xterm window
    virtuoso &
    The CIW appears.
  2. In the CIW, select File – New – Library
    The New Library form opens.
  3. Enter the name of the new library and the path to its location
    .
    You can use the scroll bar in the directory window to fill in the library path field. Click a directory name to enter it into the path field.
  4. In the Name field, specify the library name.
    Design_01 
  5. In the field below the Directory list box, enter the path to the new library.
    <dfII_install_dir>/Design_01
    <dfII_install_dir> is a variable signifying the particular path you use for the Cadence installation directory.
  6. Click Do not need process information.
    Because the library does not contain layout data, you do not need a technology file.
  7. Click Apply.
    The form stays open, so that you can create another library.
    When you create the last new library, click OK instead of Apply, to close the New Library form.
    The new library is created.
  8. In the CIW, select Tools – Library Manager.
    The Library Manager window opens, displaying the name of the library you just created.
  9. Click the name of the new library.
    The contents of the new library (ieee) appear in the Cell column.
    In the following example, the Show Categories option is turned off and you can see references to the five required libraries (basic, sample, US_8ths, std, and ieee) and user-defined library cdsDefTechLib.
    The contents of the library you selected appear in the Cell column. If problems occur during the creation or addition of the new library, error and warning messages appear in the Messages window.
If the basic library does not contain a patch cod symbol, or the basic library is not defined in cds.lib, VHDL In fails to create a schematic. It creates a behavioral view instead of a schematic.

Starting VHDL In in Standalone Mode

If you do not have Virtuoso® Design Environment running (no CIW is displayed), you can run VHDL In in standalone mode.

Starting VHDL In with Virtuoso Studio Design Environment

To start VHDL In with Virtuoso Studio Design Environment

CIW Menu Options

You can use either of two sequences of menu options in the CIW to access the VHDL Import form:

File – Import – VHDL

To access VHDL In through the CIW.

All the different fields on the form are explained in Chapter 3, “The VHDL Import Form.

Tools – VHDL Tool Box

To open VHDL Import from VHDL Toolbox:

  1. On the CIW, choose Tools – VHDL Tool Box.
    The VHDL Toolbox form appears.

  2. Choose Commands – Import.
    The VHDL Import form appears.

Using SKILL APIs

You can use various SKILL APIs to operate VHDL In. using SKILL APIs, you can perform the following operations:

For information on using SKILL functions of VHDL In, see HDL Import and Netlist-to-Schematic Conversion SKILL Reference.


Return to top
 ⠀
X