3
Working In Standalone Mode
The Connectivity-to-Schematic tool can be run either from the Virtuoso® Design Environment workbench or in the standalone mode. This chapter describes the command to run the Connectivity-to-Schematic tool in the standalone mode, the parameter file options, and the command-line options.
Starting Connectivity-to-Schematic in Standalone Mode
The standalone executable, conn2sch can be accessed from the following directory:
The command to start the Connectivity-to-Schematic tool is:
conn2sch -lib <libName> -cell <cellName> -view <viewName>
[-param <paramFileName>] [-destlib <destLibName>]
[-destview <destViewName>] [-cdslib <cdsLibFileName]
[-f <optionsFileName] [-log <logFileName>] [+place_only]
[-fast_labels] [-help] [-version] [-min_crossovers]
[-nosquare] [-asg] [+noxtrsch] [-overdense] [-verbose]
The -lib, -cell, and -view are mandatory command-line options. The command-line options are not case-sensitive.
Using the Command-line Options
The following table describes the command-line options for the Connectivity-to-Schematic tool:
Creating the Parameter File
You can create a parameter file containing a list of all the options and parameter settings that are used by the Connectivity-to-Schematic tool to generate the schematics. This file can be specified with the -param command-line option while invoking the tool. The command to use a parameter file is:
conn2sch -param paramFile -lib testLib -cell top -view netlist
A sample parameter file, parameter_file.txt, is available in the<install_directory>/doc/conn2schuser/example directory.
Parameter File Format
Each line in the Connectivity-to-Schematic tool parameter file has a parameter specification statement. The syntax of the parameters follows the Backus Naur format:
parameter_file::= {parameter_specification_statement}
Each parameter specification statement begins with the parameter name followed by the field separator, and then by the value or set of values for the parameter. Following is an example of a parameter specification statement:
parameter_specification_statement::=
parameter_name ps_seperator parameter_value
Parameter name could be any of the following:
parameter_name::=
ref_lib_list |
dest_view_name |
dest_symbol_view_name |
generate_top_cell_symbol |
log_file_name |
import_if_exists |
sheet_symbol |
page_row_limit |
page_col_limit |
label_height |
line_line_spacing |
line_component_spacing |
density_level |
pin_placement |
power_symbol |
ground_symbol |
power_net |
ground_net |
noconn_symbol
ps_seperator ::= :=
You can specify either one value or a set of values separated by a comma for the parameters, as follows:
parameter_value ::= value, {value}
The data type of the value can be a string, an integer, or a real number.
value ::= string_value | integer_value | real_value
In addition, the following rules are applicable for the value:
- Any value that is not an integer or real is string.
- String does not require quotes. Trailing and preceding white spaces are automatically removed.
- White spaces within a string are preserved if the string is enclosed in quotes.
Following is a sample parameter file:
ref_lib_list := basic, sample, US_8ths
dest_view_name := schematic
dest_symbol_view_name := symbol
generate_top_cell_symbol := 1
log_file_name := ./conn2sch.log
import_if_exists := 0
sheet_symbol := none
page_row_limt := 1024
page_col_limit := 1024
label_height := 9
line_line_spacing := 0.200000
line_component_spacing := 0.500000
density_level := 100
power symbol := analogLib vdd symbol
ground_symol := analogLib gnd symbol
pin_placement := all_sides
power_net := vdd!
ground_net := gnd!
noconn_symbol := basic noconn symbol
The default log file name is conn2sch.log. The log file name can be specified as an absolute path. By default, the log file is created in the current working directory. If a log file already exists with the same name, it overwrites the existing file.
log takes precedence over the log file name specified in the parameter file.Parameter File Options
The options used in the schematic generation parameter file are divided into three categories:
- General Parameter Options
- Schematic Generation Parameter Options
- Analog Schematic Generation Parameter Options
General Parameter Options
Schematic Generation Parameter Options
| Option | Description |
|---|---|
|
Specifies which sheet border size the Connectivity-to-Schematic tool applies when creating a multi-sheet schematic. The sheet borders reside in the sheet_symbol := none |
|
|
Specifies the maximum number of rows on each sheet. Usually, the maximum number of rows is expressed as a number between page_row_limit := 1024 |
|
|
Specifies the maximum number of columns on each sheet. Usually the maximum number of columns is expressed as a number between page_col_limit := 1024 |
|
|
Specifies the size of the font used for pin, wire, and instance labels. The value must be an integer greater than or equal to 1. label_height := 9 |
|
|
Specifies the spacing in inches between nets flowing in a channel. The value must be a real number in the range of line_line_spacing := 0.2 |
|
|
Specifies the spacing in inches between a component and the nearest net flowing in a channel. The value must be a real number in the range of line_component_spacing := 0.5 |
|
|
Specifies the density of the schematic. The input must be an integer from density_level := 100 |
|
|
Specifies the placement of pins on a symbol. Pin placement can be defined in the parameter file with any of the two values: pin_placement := left_and_right_sides Alternatively, you can define placement of specific pins on specific sides of a module in a pin placement file, as described in the Pin Placement section. The pin placement file is referred in the parameter file as: |
|
|
Connects the floating nets ports in the schematic with the |
Analog Schematic Generation Parameter Options
Return to top