Vth swap in PrimeTime

Make a new .tcl file by copying the script below

After that, source the new .tcl files in pt session.

------------------------------------------------------------------------------------------

 #!/bin/csh


##############################
#copyright  asic-eng.blogspot.com
# Use this script in PT session. (source it)
##############################

report_timing -max_paths 99999 -slack_lesser_than -0.24 > 1.rpt

sh awk '/^  *ISO/' ./1.rpt >> 2.rpt
sh awk '/Y */' ./2.rpt >>3.rpt
sh sed '/CK/d' ./3.rpt >> 4.rpt
sh sed '/D0  /d' ./4.rpt >> 5.rpt
sh sed '/D1  /d' ./5.rpt >> 6.rpt
sh sed '/D2  /d' ./6.rpt >> 7.rpt
sh sed '/D3  /d' ./7.rpt >> 8.rpt
sh sed '/QN0  /d' ./8.rpt >> 9.rpt
sh sed '/QN1 /d' ./9.rpt >> 10.rpt
sh sed '/QN2  /d' ./10.rpt >> 11.rpt
sh sed '/TSL_/d' ./11.rpt >> 12.rpt
sh sed 's/).*//g' ./12.rpt >> 13.rpt
sh sed 's/TL_/TSL_/g' ./13.rpt >> 14.rpt
sh sed 's/TR_/TSL_/g' ./14.rpt >> 15.rpt
sh sed 's%/Y *(% %g' ./15.rpt >> 16.rpt
sh sed s/^/size_cell/g ./16.rpt > slvt_swap.rcl

sh cat pre_eco.tcl slvt_swap.tcl > buffer.tcl
sh cat buffer.tcl >> pre_eco.tcl

sh rm -rf  1.rpt 2.rpt 3.rpt 4.rpt 5.rpt 6.rpt 7.rpt 8.rpt 9.rpt 10.rpt 11.rpt 12.rpt 13.rpt 14.rpt 15.rpt 16.rpt

source ./slvt_swap.tcl

update_timing

report_timing -max_paths 1 >> result_slvt_swap

------------------------------------------------------------------------------------------------------------------------------------------



##Check the naming rules in timing report....


댓글

이 블로그의 인기 게시물

PVT

Cell delay / Net delay

[Scan] Scan chain / Scan operation