Analyze - PG - Resistance - Simple Procedure To Get Resistance Value Between Two Instances
Analyze - PG - Resistance - Simple Procedure To Get Resistance Value Between Two Instances
Explanation of Script
During design implementation, you need to know the resistance value of the dedicated power/ground nets within Innovus.
Tcl procedure in this article takes the net and view name as the input and reports the resistance between all instance pairs connected on the net. If there is more than one
path between each instance pair, the path with the maximum resistance will be reported. In the background, this Tcl uses the Voltus engine for power extraction and
requires Voltus L/XL and Voltus AA licenses.
Usage
Usage: analyze_pg_resistance <PGNET> <view name>
Results: res_cal_VDD_1/effr_VDD_1.rpt
+++++++++++++++++++++
INST4 INST5 - -
# Effective resistance for the instance pair sorted from high to low
+++++++++++++++++++++
Code
#*******************************************************************************
# their own risk. The code may require modification to satisfy the *
# requirements of any user. The code and any modifications to the code may *
# THE CODE IS PROVIDED "AS IS" AND WITH NO WARRANTIES, INCLUDING WITHOUT *
#******************************************************************************/
# Note: Do not use this Tcl to calculate the resistance for the global power/ground net.
close $fp
#}
close $fp
Puts $pgTerm
Puts $cells
Puts $qrc_tech
-ground_pins $pgTerm \
-extraction_tech_file $qrc_tech \
-cell_list_file ${dir}/cell_list_${p_id}
set_pg_nets \
-net $net \
-voltage 0\
-threshold 0.05 \
-force
set_rail_analysis_mode \
-method static \
-vsrc_search_distance 50 \
-temperature 125 \
-accuracy hd \
-power_grid_library $pgvs \
-ignore_shorts true \
-ignore_fillers false \
-enable_manufacturing_effects true \
-enable_rlrp_analysis true \
-extractor_include ../TCL/extraction_include \
-extraction_tech_file $qrc_tech\
-temp_directory_name ./TEMP_XP_${p_id} \
-work_directory_name work_${p_id}
set_power_pads \
-net $net \
-format padcell \
-file /tmp/cell_list_${p_id}
# -file ../TCL/pad_file
analyze_resistance \
-instance_pair_list_file ${dir}/inst_list_${p_id} \
Internal Notes
None
Return to the top of the page