12
Batch Mode Execution
- Overview
- Migrating from Legacy (VPS-L) to Voltus-Fi-L in Batch Mode
- The Command File Support
- The Configuration File Support
Overview
This chapter covers details of how to run Voltus-Fi-L in the batch mode including all the data requirements.
Migrating from Legacy (VPS-L) to Voltus-Fi-L in Batch Mode
The batch mode flow of Voltus-Fi-L supports both the configuration file, or the conf file used in Voltus-Fi-XL for IR/EM analysis, and the command file, cmd_file, used in the legacy (VPS-L) batch mode.
Support is provided to convert an existing legacy (VPS-L) command file to the Voltus-Fi-L configuration file using the command below:
vfibatch -convert <VPSL command file name> <new emir conf file name>
If the new emir configuration file name is not specified, then by default, the software will use the name, "ext_emir.conf".
emir.conf file and add any missing or additional information before running Voltus-Fi in the batch mode.
The details of the batch mode flow using the conf file and the cmd_file are provided in the following sections:
emirreport command, from the simulation hierarchy, to generate textual and html reports for IR and EM analysis. For details, see “Generating EMIR Analysis Reports in Voltus-Fi-L” in the IR Drop Analysis Results chapter.The Command File Support
The command file is used to load the IR drop and EM analysis results for the Voltus-Fi-L extracted view flow. The command file consists of the legacy (VPS-L) command file, Voltus-Fi commands, and values of the environment variables that are specified as commands. The commands that should be available in the command file are listed in the section below.
The following topics are covered in this section:
Supported Voltus-Fi Commands
The Voltus-Fi batch commands are specified in the command file for loading and viewing the results of different analyses types. These are specified in addition to the legacy (VPS-L) command file name. The following batch commands are available:
- Batch Commands for IR Reports
- Batch Commands for EM Reports
- Batch Command for RON Reports
- Batch Commands for Querying
- Batch Commands for Viewing Results in vsaplot and vfiplot
Batch Commands for IR Reports
You can load and print the results for IR drop analysis in the Voltus-Fi-L flow using the following commands:
load_ir_results_extview
load_ir_results_extview -i cmd_file
Loads the results of IR drop analysis in the Voltus-Fi-L flow.
Parameter
|
Specifies the name of the batch file used in the Voltus-Fi-L batch mode execution. |
Example
-
The following command loads the results for IR drop analysis that are stored in the vsaIR.cmd file:
load_ir_results_extview -i vsaIR.cmd
print_ir_report
print_ir_report
-net {all_power | netname}
-type {ir |iv |rc |rcavg |rcrms}
[-threshold threshold_value]
-filename output_file_name
Prints the results of IR drop analysis in the Voltus-Fi-L flow. You can generate IR reports for all the power nets or for specific nets.
load_ir_results_extview command.Parameters
Examples:
-
The following command prints the IR drop analysis report for all the nets for
iranalysis in theall_ir.txtfile:print_ir_report \
-net all_power \
-type ir \
-filename all_ir.txt
-
The following command prints the IR drop analysis report for the
VSSnet forrcanalysis in thevss_rc.txtfile:print_ir_report \
-net VSS \
-type rc \
-filename vss_rc.txt
-
The following command prints the IR drop analysis report for all the power nets for
rcrmsanalysis in theall_power_rcRMS.txtfile:print_ir_report \
-net all_power \
-type rcrms \
-filename all_power_rcRMS.txt
print_rlrp_report
print_rlrp_report -netnetname-filenameoutput_file_name-taptapname
Prints the RLRP analysis report in the Voltus-Fi-L flow.
load_ir_results_extview command.Parameters
Example:
-
Use the following commands to load the IR drop analysis results and print the RLRP analysis report for the tap nodes specified for the
VDDnet in theRLRP.rptfile:load_ir_results_extview -i vsaIR print_rlrp_report -net VDD -filename RLRP.rpt -tap MavD7_1_unmatched#d print_rlrp_report -net VDD -filename RLRP.rpt -tap MavD7_2_unmatched#d
Batch Commands for EM Reports
You can load and print the results for EM analysis in Voltus-Fi-L using the following commands:
load_em_results_extview
load_em_results_extview -i cmd_file
Loads the results of EM analysis in the Voltus-Fi-L flow.
Parameters
|
Specifies the name of the batch file used in the Voltus-Fi-L batch mode execution. |
Example
-
The following command loads the results of EM analysis stored in the
vsaEMfile:load_em_results_extview -i vsaEM
print_em_report
print_em_report
-net {all_power | all_signal | all_nets | netname}
-type {javg | jmax | jabsavg | jacpeak | jacrms | rc | rcavg | rcrms}
[-threshold threshold_value]
-filename output_file_name
[-rule custom_em_rule_name]
Prints the EM analysis reports in the Voltus-Fi-L flow.
load_em_results_extview command.Parameters
Examples:
-
The following command prints the EM analysis report for all the power nets for
javganalysis in theall_power_javg.txtfile:print_em_report \
-net all_power \
-type javg \
-filename all_power_javg.txt
-
The following command prints the EM analysis report for all the signal nets for
jmaxanalysis in theall_signal_jmax.txtfile:print_em_report \
-net all_signal \
-type jmax \
-filename all_signal_jmax.txt
-
The following command prints the EM drop analysis report for the VDD net for
jabsavganalysis in thevdd_jabsavg.txtfile:print_em_report \
-net VDD \
-type jabsavg \
-filename vdd_jabsavg.txt
-
The following command prints the EM drop analysis report for the VDD net for
tcrmsanalysis in thevdd_tcrms.txtfile:print_em_report \
-net VDD \
-type tcrms \
-filename vdd_tcrms.txt
Batch Command for RON Reports
You can report the on-resistance (RON) values of power devices in Voltus-Fi-L by using the following command:
report_vfi_L_ron
report_vfi_L_ron -pin_pair_filefile_name[-device_ron {true | false} -param_list_filefile_name-output_filefile_name
Generates the on-resistance (RON) report for IR drop and EM analysis for the specified pin-pairs. Layer-wise wire RON is reported by default. For reporting the device RON, specify the -device_ron parameter.
For details of the flow, see Reporting On-Resistance Values.
Parameters
Example
-
The following command creates a RON report in the
output.rptfile for the pin-pairs specified in thepin_pair.txtfile:
report_vfi_L_ron -pin_pair_file pin_pair.txt -output_file output.rpt
Batch Commands for Querying
You can query resistors and nodes in Voltus-Fi-L flow using batch commands. For this, first search for specific resistors and nodes, and then query specific information about these resistors and nodes using batch commands.
You can also specify these commands in a tcl file (conf.tcl) and specify the file in the EMIR control file by using the following emirutil command:
emirutil postTclCmdFile=[conf.tcl]
For details of the above variable, see EMIR Control File Options Supported in Voltus-Fi-L.
Listed below are the batch commands that can be specified for querying specific data. Links to the command descriptions in the “Batch Mode Execution” chapter of the Voltus-Fi Custom Power Integrity Solution XL User Guide are provided below.
Batch Commands for Viewing Results in vsaplot and vfiplot
The following commands are used to generate the VSA_RESULTS directory for IR drop and EM analysis in vsaplot for both Voltus-Fi-L and Voltus-Fi-XL. However, there are some parameters that are specific to either Voltus-Fi-L or Voltus-Fi-XL. The distinction is provided in the parameter descriptions.
The details of the commands are provided below.
write_ir_vsaplot_db
write_ir_vsaplot_db -libnamelibrary_name-cellnamecell_name-viewnameview_name-extractedlibnamelibrary_name-extractedcellnamecell_name-extractedviewnameview_name-dfII_layermap_filedfII_layer_file-qrc_run_directoryrun_dir-qrc_run_namerun_name-input_type {psf | vavodb} [-analysis_nameanalysis_name] [-anaysis_typeanalysis_type] [-vavodb_filefile_name] [-start_timestart_time] [-stop_timestop_time]results_file_name
Generates the vsaplot database for the IR drop analysis results.
Parameters
-
The following example shows how to generates the vsaplot database for the IR drop analysis results for Voltus-Fi-L.
write_ir_vsaplot_db \
-libname amsPLL \
-cellname TB1_vco_single \
-viewname schematic \
-extractedlibname amsPLL \
-extractedcellname vco \
-extractedviewname av_extracted_vco_oa \
-dfII_layermap_file dfiilayer \
-qrc_run_directory vco_lvs_oa \
-qrc_run_name vco \
-input_type vavodb \
-vavodb_file tran_emir_vavo.db \
./simulation_flow/TB1_vco_single/spectre/schematic
-
The following example shows how to generates the vfiplot database for the IR drop analysis results for Voltus-Fi-XL.
write_ir_vsaplot_db \
-libname testlib \
-cellname testcell \
-viewname testview \
-dfII_layermap_file dfiilayer \
xps.emirtap.emir0_bin
write_em_vsaplot_db
write_em_vsaplot_db
-libnamelibrary_name
-cellnamecell_name
-viewnameview_name
-extractedlibnamelibrary_name-extractedcellnamecell_name-extractedviewnameview_name-tech_filetech_file_name[-layer_mapfilelayer_map_filename]
[-em_only_ict_fileem_only_ict_file_name]
-dfII_layermap_filedfII_layer_file-qrc_run_directoryrun_dir-qrc_run_namerun_name
-input_type {psf | vavodb}
[-analysis_nameanalysis_name]
[-analysis_typeanalysis_type]
[-vavodb_filevavodb_file_name]
[-start_timestart_time]
[-stop_timestop_time]
-type {javg jmax jabsavg jacpeak jacrms}results_file_name
Generates the vsaplot database for the EM analysis results.
Parameters
-
The following example shows how to generates the vsaplot database for the EM analysis results for Voltus-Fi-L.
write_em_vsaplot_db \
-libname amsPLL \
-cellname TB1_vco_single \
-viewname schematic \
-extractedlibname amsPLL \
-extractedcellname vco \
-extractedviewname av_extracted_vco_oa \
-tech_file qrcTechFile \
-layer_mapfile contactmapfile \
-dfII_layermap_file dfiilayer \
-qrc_run_directory vco_lvs_oa \
-qrc_run_name vco \
-input_type psf \
-analysis_name dcOp-dc \
-analysis_type dc \
-start_time 0 \
-stop_time 170 \
-type javg
./simulation_flow/TB1_vco_single/spectre/schematic
-
The following example shows how to generates the vfiplot database for the EM analysis results for Voltus-Fi-XL.
write_em_vsaplot_db \
-libname testlib \
-cellname testcell \
-viewname testview \
-tech_file qrcTechFile \
-layer_mapfile contactmapfile \
-dfII_layermap_file dfiilayer \
-type jacrms
xps.emirtap.emir0_bin
Supported VPSL Batch File Commands
Currently, only the commands listed below are supported in the Voltus-Fi-L extracted flow. If there are any additional commands in the specified legacy (VPS-L) cmd_file, they will be ignored.
The following commands are required to be in the specified batch file:
- _vsa_extracted_lib_cell_view
- _vsa_qrc_run_directory
- _vsa_qrc_run_name
- _vsa_simulation_directory
- _vsa_em_tech_file
- _vsa_em_data_file
- _vsa_analysis_data
- _vsa_vavo_db_file
- _vsa_testbench_lib_cell_view
The following commands are optional:
- If the required commands are not present in the specified batch file, the job is aborted with the associated error message.
-
If the extracted view data cannot be loaded, or the appropriate
dbFile/extview.tmpfile is not located, the tool will throw an error before performing the analysis. - If there are any errors while reading the Voltus-Fi data, the tool will flag these errors.
The descriptions of the commands are provided below.
_vsa_extracted_lib_cell_view
_vsa_extracted_lib_cell_view "library" "cell" "view"
Specifies the RCX extracted view used as input for the analysis. This is a required command.
Parameters
Example
The following command specifies the RCX extracted view used as input for the analysis:
_vsa_extracted_lib_cell_view "amsPLL" "vco" "av_R"
_vsa_qrc_run_directory
_vsa_qrc_run_directory "run_dir_name"
Specifies the directory name of the Quantus QRC run. This is a required command.
Parameter
Example
The following command specifies the directory name of the Quantus QRC run:
_vsa_qrc_run_directory "../custom/LVS"
_vsa_qrc_run_name
_vsa_qrc_run_name "run_name"
Specifies the Quantus QRC run name. This is a required command.
_vsa_qrc_run_name "vco"
_vsa_simulation_directory
_vsa_simulation_directory "sim_dir_path"
Specifies the input simulation run. This is a required command.
Parameter
Example
The following command specifies the path of the simulation directory:
_vsa_simulation_directory "/custom/simulation/TB1_vco_bak/spectre/schematic"
_vsa_em_tech_file
_vsa_em_tech_file "../path/fileName"
Specifies the path and filename of the technology file. This is required for EM analysis. If the technology file is not specified, the software gives an error. The following files are supported: The ICT file, the QRC tech file, and the emDataFile.
_vsa_em_tech_file and the _vsa_em_data_file commands are only required in the EM analysis flow. One of these two commands must be specified.
_vsa_em_tech_file "../amsPLL_oa_flow/qrcTechFile"
_vsa_em_data_file
_vsa_em_data_file "../path/fileName"
Specifies the path and file name of the emDataFile required for EM analysis. This is an optional command. If no other location is specified, the current working directory is used. If the emDataFile is not found, an error is returned.
_vsa_em_tech_file and the _vsa_em_data_file commands are only required in the EM analysis flow. One of these two commands must be specified.Parameter
|
Specifies the path and name of the EM rule specification file. |
Example
The following command specifies the path and filename of the emDataFile required for EM analysis:
_vsa_em_data_file "../custom/oa/gpdk/emDataFile.txt"
_vsa_analysis_data
_vsa_analysis_data "TRANSIENT" | "DCOP"
Specifies the type of analysis to perform.
For transient analysis, separate start and stop times can be specified for both IR Drop and EM analysis using the _vsa_analyze_ir and _vsa_analyze_em commands. If start and stop times are not specified, the default is the full duration of the simulation.
Parameters
|
Specifies that DC operating point analysis should be performed. |
Examples
-
The following command specifies that transient analysis be performed for the full duration:
_vsa_analysis_data "TRANSIENT"
-
The following command specifies that DCOP analysis be performed:
_vsa_analysis_data "DCOP"
_vsa_vavo_db_file
_vsa_vavo_db_file "../path/FileName"
Specifies the vavo.db database file required for the vavo_db flow.
_vsa_vavo_db_file "../amsPLL_oa_flow/vavo.db"
_vsa_testbench_lib_cell_view
_vsa_testbench_lib_cell_view "library" "cell" "view"
Specifies the schematic testbench. This is a required command.
Parameters
Example
The following command specifies the schematic testbench used as input for the analysis:
_vsa_testbench_lib_cell_view "amsPLL" "tb_vco_bak" "schematic"
_vsa_hierarchy
_vsa_hierarchy "hierarchy_name"
Specifies the hierarchy of the design. This is an optional command.
Parameter
Example
The following command specifies the hierarchy of the design:
_vsa_hierarchy "/X1"
_vsa_analyze_em
_vsa_analyze_em
Specifies the start and stop times for transient EM analysis. If the start and stop times are not specified, the full duration of the simulation is analyzed.
To specify DCOP analysis or to analyze the full duration of a transient analysis, use _vsa_analyze_em.
Parameters
|
Specifies the start time for the DCOP or transient analysis. |
|
Example
The following command is used to specify the start and stop times for transient EM analysis:
_vsa_analyze_em _vsa_analyze_em "0" "1n"
_vsa_analyze_ir
Specifies the start and stop times for transient IR drop analysis. If the start and stop times are not specified, the full duration of the simulation is analyzed.
To specify DCOP analysis or to analyze the full duration of a transient analysis, use _vsa_analyze_ir.
Parameters
Examples
-
The following command specifies the start and stop times for transient IR drop analysis:
_vsa_analyze_ir "0" "150n"
-
The following command is used for running DCOP analysis or full duration of transient IR analysis:
_vsa_analyze_ir
_vsa_pres_cellname
_vsa_pres_cellname "cellname"
Specifies the cell name of the parasitic resistor used by RCX that is added to the extracted view. This command is optional.
Parameter
|
Specifies the cell name of the parasitic resistor within the cell. |
Example
The following command specifies the name of the parasitic resistor used by RCX:
_vsa_pres_cellname "presistor"
_vsa_em_map_file
_vsa_em_map_file "../path/mapFileName"
Specifies the layermap file, which is the name of the mapping file to be used for EM analysis. It provides a mapping between the layer names in the simulation database and the layer names in the technology file specified using the _vsa_em_tech_file command.
_vsa_em_map_file "../amsPLL_oa_flow/DFIIlayermap"
Sample Batch Mode Command File
A sample legacy (VPS-L) batch mode command file is provided below.
;vsa batch mode command file
;common commands for EM and IR
_vsa_extracted_lib_cell_view “amsPLL” “vco” “av_extracted_sol”
_vsa_testbench_lib_cell_view “amsPLL” “TB1_vco_single” “schematic”
_vsa_simulation_directory “/custom/TB1_vco_single/spectre/schematic/”
_vsa_pres_cellname “presistor”
_vsa_analysis_data “TRANSIENT”
; IR specific commands
;_vsa_analyze_IR “0” “170n”
_vsa_analyze_ir
;following command are for EM analysis
_vsa_qrc_run_directory “/custom/WORK/AV/LVS_emir”
_vsa_em_data_file “emDataFile.txt”
;_vsa_analyze_em "0" "1n"
_vsa_analyze_em
exit
The Configuration File Support
Yo can use the configuration file to run Voltus-Fi-L in batch mode. The following command is used:
vfibatch -c <emir conf> -db <simulation directory path> -outdir <output directory>
cmd_file.Detailed information about the control file options that can be specified in the configuration file are provided in the subsequent section.
EMIR Control File Options Supported in Voltus-Fi-L
The following table summarizes the EMIR control file options supported in Voltus-Fi-L. These are specified in the configuration file using the emirutil command.
Table 12-1 Supported EMIR Control File Options
| Keyword | Option Set | Explanation | Default Value |
|
Specifies the analysis name for DCOP analysis and transient analysis. |
|||
|
Specifies the type of analysis, |
|||
|
Specifies the start time for transient analysis. If not specified, the software analyzes the full duration of the simulation. |
|||
|
Specifies the stop time for transient analysis. If not specified, the software analyzes the full duration of the simulation. |
|||
|
Specifies the EM rule file in the emdatafile, qrctechfile, or ictfile format. Case-insensitive layer names are supported allowing easier match between the extracted view and the technology files.
Alternatively, you can use the
The |
|||
|
Specifies the process and EM models to be used for EM analysis.
Note: This file can only be provided with the |
|||
|
Specifies the tcl file that contains user-specified commands for querying specific resistor and node information and creating customized EM and IR drop analysis reports.
For details about the commands that can be written in the file ( |
|||
|
Specifies the layer map file that provides the mapping between the layer names in the simulation database to the layer names in the technology file. |
|||
|
Defines the type of report created by
|
|||
|
Notation for the text and html reports. |
|||
|
Report IR and EM results per net, or all nets. |
|||
|
Defines the IR voltage drop threshold for the node being reported.
|
|||
|
Defines the EM analysis threshold value for the resistors being reported. The value for
Note: Specifying this option is equivalent to filtering all passed resistors. |
|||
|
Specifies the addition of the factor, The software, by default, calculates the current limit for the AC-Peak analysis of the design resistor using the following equation:
To apply the factor,
|
|||
|
Enables the scaling of the width and length values based on the |
|||
|
When the EM rules are specified in terms of PWL and the width of metal or the area of via does not exactly match any width/area of the PWL, the EM limit will not be calculated for this metal resistor/via.
When set to
minimum of PWL |
|||
|
Specifies the value by which the width and length values will be multiplied before the EM rules are applied. |
|||
|
Specifies the list of layers for which area-based PWL search is performed first. When no match is found, then non-PWL rules are used. The default value of this variable is To enable the behavior for specific layers, you can specify a list of layers.
To disable this behavior for all layers, set the value of this variable to "
When both the above rules are specified, the second rule is given priority over the first. |
|||
|
Defines the time duration, |
|||
|
Defines the current ( |
|||
|
Prints the current direction in the EM report (Current Direction column). For metal resistors, the current direction is printed. That is, W means that the current is flowing from east to west. For via resistors, the direction from/to layer is printed. |
|||
|
Specifies the lifetime for which the EM analysis will be performed. You can specify the value in either years or |
|||
|
Scales the EM limits of the parasitic resistors in the design before generating the EM reports. You can either apply the same scale factor to all the nets or specify different scale factors for different nets. To apply the same scale factor to the parasitic resistors of all the nets in the design, provide the value of the scale factor.
Note: This is applicable to To apply different scale factors to different nets in the design, provide the name of the file that contains information about the net names and the corresponding scale factors to be applied to these nets. |
|||
|
Specifies the value of the power on the metal lines for RMS EM analysis of signal nets.
If this option is not specified, the default value of
However, if this option is specified, it overrides the |
|||
|
Defines the recovery factor for iavg calculation with recovery factor. If specified, then |
|||
|
Defines the EM analysis report file to be generated in the Voltus-Fi-L flow.
|
|||
|
Specifies that the following information should be included in the EM analysis report file: |
|||
|
When set to |
|||
|
When set to |
|||
|
Specifies the layers that are to be filtered out from the EMIR analysis reports. |
|||
|
When set to The ICT file is defined based on the scaled dimensions. Quantus applies the layout_scale factor to the input design during extraction so that the design dimensions and the ICT file dimensions are consistent. |
|||
|
The keyword
To support the |
|||
|
Specifies the name of the parasitic resistor that is added to the extracted view. |
|||
|
Specifies the name of the extracted view in the library, cell, view format. |
|||
|
Specifies the name of the schematic testbench in the library, cell, view format. |
For details of the emirutil commands that are the same as those used in Voltus-Fi-XL, see
Sample Configuration Files
The sample conf files for different analyses types are provided below.
DC Operating Point (DCOP) Analysis
===============================================
net name=[*] analysis=[iavg irms imax vavg vmax]
emirutil view=[lib=amsPLL cell=vco view=av_extracted_vco_oa]
emirutil view_tb=[lib=amsPLL cell=TB1_vco_single view=schematic]
emirutil analysisType="dc"
emirutil analysisName="dcOp-dc"
emirutil presCellName="presistor"
emirutil qrc_output=[runDir=vco_lvs_oa runName=vco]
emirutil hierarchy="/X1"
emirutil techfile="qrcTecFile"
Transient Analysis
================================================
net name=[*] analysis=[iavg irms imax vavg vmax]
emirutil view=[lib=amsPLL cell=vco view=av_extracted_vco_oa]
emirutil view_tb=[lib=amsPLL cell=TB1_vco_single view=schematic]
emirutil analysisType="tran"
emirutil analysisName="tran-tran"
emirutil presCellName="presistor"
emirutil qrc_output=[runDir=vco_lvs_oa runName=vco]
emirutil analysisStartTime="0"
emirutil analysisStopTime="170n"
emirutil hierarchy="/X1"
emirutil techfile="qrcTecFile"
Analysis using the vavo-db File
===============================================
net name=[*] analysis=[iavg irms imax vavg vmax]
emirutil view=[lib=amsPLL cell=vco view=av_extracted_vco_oa]
emirutil view_tb=[lib=amsPLL cell=TB1_vco_single view=schematic]
emirutil presCellName="presistor"
emirutil qrc_output=[runDir=vco_lvs_oa runName=vco]
emirutil hierarchy="/X1"
emirutil techfile="qrcTecFile"
emirutil vavoDBFile="tran_emir_vavo.db"
Return to top