Product Documentation
Connectivity to Schematic User Guide
Product Version IC23.1, June 2023

2


Working with Connectivity-to-Schematic

The Virtuoso Design Environment workbench enables you to access the Connectivity-to-Schematic tool using both, GUI and SKILL functions. This chapter explains the GUI of the Connectivity-to-Schematic tool. The chapter also explains how to generate digital and analog schematic views. In addition, the chapter describes environment variables and SKILL functions supported by the Connectivity-to-Schematic tool.

Introducing the User Interface

The user interface of Connectivity-to-Schematic consists of the following tabs:

In addition, the user interface contains the following buttons, which are common for all tabs:

Connectivity-to-Schematic Options Tab

This tab contains options to specify source and target cellviews required to generate a schematic view. The following figure shows the Connectivity-to-Schematic Options tab:

Source Cellview

Contains fields to specify a source cellview, which you need to convert to a schematic view. A source cellview consists of an existing library, cell, and view. You can either type the library, cell, and view names in the Library Name, Cell Name, and the View Name fields or select these using the Browse button.

Reference Libraries

Specifies a list of libraries that contain the symbol views for the instances present in the source cellview. The analogLib, basic, and sample libraries are displayed as reference libraries, by default. If a master instance of all other instances in the source cellview is not of the dbcSchematicSymbol type, then a symbol from the reference libraries is used. If a symbol is not found in any of the reference libraries, then a new symbol view is created in the destination library and this is used as an instance master.

If you want to generate a multi-sheet schematic, you can specify a reference library containing the sheet border and the index sheet symbols, such as the US_8ths library.

Target Cellview

Contains fields to specify the destination library name, cell name, and view name where you need to generate the schematic view. You can either type the library, cell, and view names in the Library Name, Cell Name, and the View Name fields or select these using the Browse button.

If you do not specify the target library name or the cell name, the source library name or the source cell name is used by default. The target view name is schematic, by default. However, you can change the view name to any other view name.

Browse

Opens Library Browser to enable you to select the target library, cell, and view names. If the target cell and view do not exist, you can use the Browse button to select only the library name. To specify new target cell and view names, you need to type them in the Cell Name and View Name fields.

The Browser button is available for the source and target cellviews.

Overwrite Existing View

Overwrites the target cellview if it exists. If you do not select this option and a target cellview of the same name exists, then the Connectivity-to-Schematic tool will exit without creating the schematic.

Default value: Off

Schematic Generation Options Tab

This tab contains options to manage the appearance of the schematic view, which Connectivity-to-Schematic generates. For example, you can specify if the schematic should be fully routed or extracted. The following figure shows the Schematic Generation Options tab:

To create the symbol of the top cell of your input design, set the environment variable generateTopCellSymbol to t.

Sheet Symbol

Specifies the symbol that controls the size and page orientation of the sheet on which the schematic is to be made. Valid entries are the names of customer-designed sheet symbols and sheet symbols offered by Virtuoso® Design Environment.

A selection of sample sheet symbols is shipped with Virtuoso Design Environment in the <install_dir>/tools/dfII/etc/cdslib/sheets/US_8ths library. These symbols include metric sheet symbols A0 through A4, and sheet symbols for the traditional A, A.book (vertical orientation), B, C, D, E, and F sizes.

The library containing the sheet symbol entered in this field must be in your cds.lib file for the Connectivity-to-Schematic tool to use the correct information.

If the Sheet Symbol is set to none, a single sheet schematic is generated. If a specific sheet symbol size is provided, and the schematic cannot fit on a single sheet, a multi-sheet schematic is generated. A multi-sheet schematic has one index sheet and many schematic sheets.

The cell name of the index sheet for the multi-sheet schematic has the same name as the target cell name. The schematic sheets are named as <target_cell_name>@sheet<nnn> where nnn is the sheet number. For example, if the target cell name is top, the index sheet is also named as top. If the top index sheet has three schematic sheets, these are named as top@sheet001, top@sheet002, and top@sheet003.

Default value: none

Maximum Number Of Rows

Specifies the maximum number of rows on each sheet. This option is used only on a multi-sheet schematic. The value must be an integer from 1 to 1024. The maximum number of rows that can fit on a sheet is 1024.

The number of rows that are displayed on a sheet might be less than the specified number of rows depending on the size of the instance symbols and the size of the sheet.

Default value: 1024

Maximum Number Of Columns

Specifies the maximum number of columns on each sheet. This option is used only on a multi-sheet schematic. The value must be an integer from 1 to 1024. The maximum number of columns that can fit on a sheet is 1024.

The number of columns that are displayed on a sheet might be less than the specified number of columns depending on the size of the instance symbols and the size of the sheet.

Default value: 1024

Font Height

Controls the size of the font used for pin, wire, and instance labels. The value must be a real value between 0.0375 and 0.125. The wire and instance labels use the font size specified in Font Height. Pin labels are scaled down to 75 percent of the specified size.

Default value: 0.0625

Line To Line Spacing

Specifies the spacing in inches between nets flowing in a channel for each sheet. The spacing for net segments connected to instance pins depends on the pins placed on the symbols of the instances. Line To Line Spacing is used for all other net segments. The value must be a decimal number in the range of 0.19 to 0.5 inches.

Default value: 0.2

Line To Component Spacing

Specifies the spacing in inches between a component and the nearest net flowing in a channel. The value must be a decimal number in the range of 0.19 to 0.5 inches.

Default value: 0.5

Component Density

Controls the density of a schematic. The value must be an integer from 0 to 100, where 100 is the most dense and 0 is the least dense.

Default value: 0

Pin Placement

Specifies the placement of pins on a symbol. Pin placement can be defined as any of the following two options:

Text to Symbol Generator Files

Specifies a space-separated list of tsg files to be used by Connectivity-to-Schematic to generate symbols in the target library. Connectivity-to-Schematic internally runs the Text-to-Symbol generator, a tool that reads the symbol descriptions given in the tsg files to create symbol views.

For more details about the Text-to-Symbol generator and the tsg files, see Text-to-Symbol Generator in Virtuoso Schematic Editor L User Guide.

If the tsg files are given, the direction of pins specified by the Pin Placement option is ignored. Pins are placed on symbols as defined in the tsg files.

Full Place and Route

Specifies whether all the connections should be made by wiring. The following figure shows a fully routed schematic.

Turn this option off to generate a schematic in which the nets are not explicitly connected. In such a schematic the nets are not wired and the connectivity is indicated by name. This type of schematic is useful for importing large designs where the primary focus is in creating a netlist and simulation and not viewing the design. In addition, generating such a schematic is much faster than generating a completely routed schematic as a significant amount of run-time is spent during routing. The following figure shows a schematic in which the nets are not explicitly routed:

Default value: On

You can also use the Fast Schematic Generation options to determine how nets must be connected when the design has a large number of instances and ports.

Generate Square Schematics

Specifies whether to square the schematic. Turn this option off if you do not want the rows and columns of devices modified to make a rectangular schematic into a square one.

Default value: On

Minimize Crossovers

Specifies whether to minimize crossover of nets. Turn this option on to minimize crossovers of nets.

Default value: Off

Optimize Wire Label Locations

Specifies whether to override default label placement. Turn this option on to override default label placement, which keeps overlap of segments or labels to a minimum, in favor of fast placement, which places labels of segments at the midpoint without checking for minimum overlap.

Default value: Off

Extract Schematics

Specifies whether to extract the target cellview in order to report errors and warnings in the schematic. An extracted schematic has blinking markers for the errors or warnings in the schematic view.

Default value: On

Verbose

Specifies whether to print detailed status messages while the schematic is being partitioned and routed. Turn this option on to print detailed messages.

Default value: Off

Analog Schematic Generation

Specifies whether to generate an analog schematic using analog placement and routing engine. The options on the Analog Schematic Options tab become active only when you turn this option on. The Connectivity-to-Schematic tool generates digital schematic by default.

Default value: Off

Fast Schematic Generation

The options in this group box enable fast generation of the schematic when the design being imported contains a large number of instances or ports.

The following table lists the fields in the Fast Schematic Generation group box, with their default values and environment variables.

Field Default Value Environment Variable

Generate Fast Schematic

On

generateFastSchematic

Instances Greater Than

20000

fastSchematicMaxInst

Ports Greater Than

5000

fastSchematicMaxPort

For details on the environment variables, see “Setting Environment Variables”.

To use the fast schematic generation feature, select the Generate Fast Schematic check box and specify the number of instances and ports in their respective fields. If the number of instances or ports in the design exceeds the specified number, the tool generates a schematic in which the instances are placed in a two-dimensional array without any routing, and the connectivity of the nets is indicated by names.

Notes:

Cellview to Connect Floating Ports/Nets

The fields in this group box connect the floating nets ports in the schematic with a cellview when the source cellview is a netlist view.

The fields specify the library name, cell name, and view name of the cellview that you want to use for connecting to the floating ports and floating nets. For example, to use the noconn cellview to connect to the floating ports and nets, you can specify the library as basic, cell name as noconn and view names as symbol. You can either type the library, cell, and view names in the Library Name, Cell Name, and the View Name fields or select these using the Browse button.

This feature will work only when the source cellview is a netlist view.

Alternatively, you can use the command-line option noconn_symbol or the .cdsenv variable noconn_symbol.

Analog Schematic Options Tab

This tab contains options to generate an analog schematic from an imported netlist. The information provided on this tab is passed to the conn2sch executable only if the Analog Schematic Generation option, on the Schematic Generation Options tab, is turned on. The following figure shows the Analog Schematic Options tab:

Cellview To Be Used For Power Cell

Contains options to specify a cellview that you need to use as a master of a power cell instance. Select the values provided in the Library Name, Cell Name, and the View Name cyclic fields to specify a cellview. Alternatively, you can type the library name, cell name, and view name in these fields. The default values are:

Library Name: analogLib

Cell Name: vdd

View Name: symbol

If multiple instances of a power cellview exist, only a single instance is created while importing a design to ensure that the final schematic contains only one symbol instance of a power cell.

Cellview To Be Used For Ground Cell

Contains options to specify a cellview that you need to use as a master of a ground cell instance. Select the values provided in the Library Name, Cell Name, and the View Name cyclic fields to define a cellview. Alternatively, you can type the library name, cell name, and view name in these fields. The default values are:

Library Name: analogLib

Cell Name: gnd

View Name: symbol

If multiple instances of a ground cellview exist, only single instance is created while importing a design to ensure that the final schematic contains only one symbol instance of a ground cell.

Global Net

Contains options to specify power net and ground net names. Power and ground nets are used to vertically align the instances. Instances connected to a power net are placed towards top of a schematic and instances connected to a ground net are placed towards bottom of a schematic.

You can specify the power net and ground net names in the Power Net Name and the Ground Net Name fields. Default values for these fields are:

Power Net Name: vdd!

Ground Net Name: gnd!

Generating Schematics

Guidelines to Create and Edit Symbols

You must follow certain guidelines to create and edit symbols, which a schematic uses. If you do not follow these guidelines, the Connectivity-to-Schematic tool might not generate the schematic, or might generate a schematic, which is incorrect or off-grid. Also, nets might overlap symbols and symbol labels might overlap nets or net labels. The guidelines to create and edit symbols are:

The Connectivity-to-Schematic tool places the origin of the Composer Symbol on the snap grid. If all marked lengths are not multiples of the snap space, the generated schematic will be off-grid. Usually this is not a problem because the Symbol Editor automatically imposes this restriction. Problems might occur only if the snap space of the symbol has been changed during or after editing the symbol.

Generating Digital Schematics

The following figure shows the netlist view of the eight_ip_cell cell existing in the sourceLib library:

To generate a digital schematic view from the netlist view:

  1. Click File, point to Import, and then click Netlist View to run the Connectivity-to-Schematic tool.
  2. Specify the names of a source library, source cell, and source view in the appropriate fields on Connectivity-to-Schematic Options tab.
  3. Specify the names of target library, target cell, and target view in the appropriate fields on the Connectivity-to-Schematic Options tab.
    If you do not specify the target library name, the source library is used as the target. Similarly, if you do not specify the target cell name, then the source cell name is used as the target cell name.
  4. Click the Schematic Generation Options tab to modify schematic generation options.
  5. Click OK or Apply on the Connectivity-to-Schematic tab to generate a digital schematic.
  6. Wait until Connectivity-to-Schematic displays a completion message as shown in the following figure:
    The completion message specifies that a schematic is generated in the specified target library.
  7. Click Yes to view the log file. The following figure shows the log file contents:
  8. Select File — Open to open the Open File dialog box as shown in the following figure:
    Alternatively, you can open the schematic view from Library Manager.
  9. Select digital_sch from the View drop-down list box on the Open File dialog box. The schematic view generated by Connectivity-to-Schematic is displayed in the Virtuoso Schematic Editor L window.
    The following figure shows the digital schematic view for the eight_ip_cell cell in the targetlib library:

Generating Analog Schematics

The following figure shows the netlist view of the amplifier cell existing in the srcLib library:

To generate an analog schematic from the netlist view:

  1. Click File, point to Import, and then click Netlist View to run the Connectivity-to-Schematic tool.
  2. Specify the names of a source library, source cell, and source view in the appropriate fields on Connectivity-to-Schematic Options tab.
  3. Specify the names of target library, target cell, and target view in the appropriate fields on the Connectivity-to-Schematic Options tab.
    If you do not specify the target library name, the source library is used as the target. Similarly, if you do not specify the target cell name, then the source cell name is used as the target cell name.
  4. Click the Schematic Generation Options tab to modify schematic generation options.
  5. Select the Analog Schematic Generation option to activate the options on the Analog Schematic Options tab.
  6. Click the Analog Schematic Options tab to modify analog schematic options.
  7. Click OK or Apply on the Connectivity-to-Schematic tab to generate an analog schematic
  8. Wait until Connectivity-to-Schematic displays the completion message that a schematic is generated in the specified target library.
  9. Click Yes on the Connectivity-to-Schematic message box to view the log file.
  10. Select File — Open to open the Open File dialog box.
  11. Select analogSch from the View drop-down list box on the Open File dialog box. The schematic view generated by Connectivity-to-Schematic is displayed in the Virtuoso Schematic Editor L window.
    The following figure shows the analog schematic view of the amplifier cell in the tarLib library:
For information on the salient features of Analog Schematic Generator and how it is integrated with Spice In and Connectivity-to-Schematic, see Analog Schematic Generation multimedia demonstration.

Setting Environment Variables

Environment variables are the global values or settings that determine the default behavior of the Connectivity-to-Schematic tool (conn2sch). You can change the values of these variables to customize the operation and behavior of the tool. Environment variables are specified in the .cdsenv file, which can be accessed from the following path:

<inst_dir>/tools/dfII/etc/tools/conn2sch/.cdsenv

The following table shows the entries in the .cdsenv file and the default values of the variables. Notice that each entry in the .cdsenv file begins with the tool name, followed by the environment variable name, variable type, the value, and the range of the variable.

Environment Variable Name Type Value Range
asg_options
boolean
nil
-
density_level
int
0
(0 100)
dest_cell_name
string
""
-
dest_sch_lib
string
""
-
dest_symbol_view_name
string
"symbol"
-
dest_view_name
string
"schematic"
-
extract_schematic
boolean
t
-
fastSchematicMaxInst
int
20000
-
fastSchematicMaxPort
int
5000
-
full_place_and_route
boolean
t 
-
generate_square_schematic
boolean
t
-
generateTopCellSymbol
boolean
nil
-
generateFastSchematic
boolean
t
-
ground_net
string
"gnd!"
nil
ground_symbol
string
"analogLib gnd symbol"
-
import_if_exists
int
0
-
label_height
float
0.0625
(0.0375 0.125)
line_component_spacing
float
0.500000
(0.19 0.5)
line_line_spacing
float
0.200000 
(0.19 0.5)
log_file_name
string
"./conn2sch.log"
-
minimize_crossovers
boolean
nil
-
optimize_wire_label_locn
boolean
nil
-
page_col_limit
int
1024
(1 1024)
page_row_limit
int
1024
(1 1024)
pin_placement
cyclic
left_and_right_sides 
nil, left_and_right_sides, all_sides, file, <file-name>
power_net
string
"vdd!"
nil
power_symbol
string
"analogLib vdd symbol"
-
ref_lib_list
string
"analogLib basic sample"
-
sheet_symbol
string
"none"
-
src_cell_name
string
""
-
src_sch_lib
string
""
-
src_view_name
string
""
-
verbose
boolean
nil
-
noconn_symbol
string 
"basic noConn symbol"
-

Using SKILL Functions

The Connectivity-to-Schematic tool provides various SKILL APIs for tasks such as the following:

For details, see HDL Import and Netlist-to-Schematic Conversion SKILL Reference.


Return to top
 ⠀
X