一:文件准备
voltus的环境文件配置
1:pgv库配置
pgv库分别配置std库;mem库;IP库
配置库命令:
libgen_stdcell.tcl
read_lib -lef
set_pg_library_mode \
-ground_pins ** \
-power_pins ** \
-decap_cells ** \
-filler_cells ** \
-celltype stdcells \
-spice_models ** \
-spice_corners ** \
-spice_subckts **(stdcell库的.spi文件) \
-lef_layermap ** \
-current_distribution propagation \
-temperature ** \
-extraction_tech_file **
set_advanced_pg_library_mode -libgen_command_file libgen.inc
generate_pg_library \
-output stdcell_pgv_tt
-----------------------------------------------------------------------------------
libgen_techonly.tcl
read_lib -lef "
\
"
set_pg_library_mode \
-celltype techonly
-extraction_tech_file *****(文件路径)
-power_pins {VDD 0.74 VDDH 1.98}
-ground_pins {VSS GND]
-default_area_cap 0.5
-temperature 125
generate_pg_library \
-output tech_pgv
二:执行脚本
power_func.tcl
rail_func.tcl
--------power_func.tcl
##read sdc
read_sdc **
##read spef
read_spef **
set_default_switching_activity -reset
####
set_power_analysis_mode -reset
####
set_power_analysis_mode \
-method static \
-create_binary_db true \
-write_static_currents true \
-report_missing_nets true \
-disable_ecsm_interpolation true \
-honor_negative_energy true \
-transition_time_method true \
-default_frequency 2 \
-enable_slew_based_ccs_pin_cap true \
-report_missing_inout true \
-disable_leakage_scaling true \
-clock_source_as_clock true
####
set_power_output_dir -reset
set_power_output_dir **
report_power -outfile **.rpt
-----------rail_func.tcl
set_multi_cpu_usage -localCpu 8 -remoteHost 2 -cpuPerRemoteHost 1
set_distribute_host -local -timeOut 100
set pgv_list [list \
********
********]
set_rail_analysis_mode -method static -accuracy hd \
-power_grid_library $pgv_list \
-temperature 125 \
-enable_rlrp_analysis true \
-rlrp_threshold 60 \
-em_temperature 120 \
-ignore_fillers true \
-ignore_decaps true \
-extraction_tech_file *****/qrctechfile(文件路径)
-temp_directory_name .***(文件路径)
-ignore_incomplete_net true \
-ignore_shorts true \
-filler_cell_list {****} \
-decap_cell_list ***
-process_techgen_em_rules true
set top_power " \
****xxx.ptiavg
"
set_power_data -reset
set_power_data -format current -scale 1 $ top_power
set_power_pads -net * -format xy -file ******(net对应的pin的点坐标,电源实际提供多少就写多少组)
set_pg_nets -net * -voltage * -threshold *
set_rail_analysis_domain -name allDomains -pwrnets "VDD" -gndnets VSSIO
set_multi_cpu_usage -localCpu 8 -remoteHost 2 -cpuPerRemoteHost 4
set_distribute_host -local -timeout 100
analyze_rail -type domain -results_directory PRT/static_rail allDomains
三:文件内容及其含义
标签:voltus,power,read,drop,tcl,set,mode,true,IR From: https://www.cnblogs.com/chip-peace/p/16722829.html