source /home/tools/synopsys/SYNOPSYS_INSTALL_2023/prime/T-2022.03-SP5-1/admin/setup/.synopsys_pt.setup
# func_max - VDD-0.75 VDDH-0.95 
# func_min - VDD-0.95 VDDH-1.16
# test_max - VDD-0.75 VDDH-0.95 
# test_min - VDD-0.95 VDDH-1.16
set search_path {/home/tools/libraries/lib/stdcell_hvt/db_nldm /home/tools/libraries/lib/stdcell_lvt/db_nldm /home/tools/libraries/lib/stdcell_rvt/db_nldm /home/tools/libraries/lib/sram_lp_new/db_nldm} 
set_app_var link_library "* saed32lvt_ss0p75vn40c.db saed32rvt_ss0p75vn40c.db saed32hvt_ss0p75vn40c.db  saed32hvt_ulvl_ss0p95vn40c_i0p75v.db saed32lvt_ulvl_ss0p95vn40c_i0p75v.db saed32rvt_ulvl_ss0p95vn40c_i0p75v.db saed32hvt_dlvl_ss0p75vn40c_i0p95v.db saed32rvt_dlvl_ss0p75vn40c_i0p95v.db saed32lvt_dlvl_ss0p75vn40c_i0p95v.db saed32sramlp_ss0p75vn40c_i0p75v.db"
read_verilog /home/harshava/PD_B9/ORCA_TOP/PRIME_TIME/inputs/routed_netlist.v
current_design ORCA_TOP
link_design ORCA_TOP -force
current_design ORCA_TOP
load_upf /home/harshava/PD_B9/ORCA_TOP/PRIME_TIME/inputs/ORCA_TOP.upf
define_scaling_lib_group { saed32lvt_ss0p75vn40c.db  saed32lvt_ss0p95vn40c.db}
define_scaling_lib_group { saed32hvt_ss0p75vn40c.db  saed32hvt_ss0p95vn40c.db}
define_scaling_lib_group { saed32rvt_ss0p75vn40c.db  saed32rvt_ss0p95vn40c.db}
define_scaling_lib_group {saed32sramlp_ss0p75vn40c_i0p75v.db saed32sramlp_ss0p95vn40c_i0p95v.db}
set_eco_options -physical_icc2_lib /home/harshava/PD_B9/ORCA_TOP/PD/outputs/works/ORCA_TOP.nlib -physical_icc2_blocks postub_route_ubuff_allfixes_block
read_parasitics /home/harshava/PD_B9/ORCA_TOP/STARRC/outputs/spef/ORCA_TOP.cworst.cmd -keep_capacitive_coupling
read_sdc /home/harshava/PD_B9/ORCA_TOP/PRIME_TIME/inputs/orca_ss_40c.sdc
set si_enable_analysis true 
set si_xtalk_composite_aggr_mode statistical
update_timing -full
#note: create a directory in terminal // not in pt_shell
#mkdir ./sessions


