Skip to content

Commit

Permalink
Merge pull request The-OpenROAD-Project#4662 from The-OpenROAD-Projec…
Browse files Browse the repository at this point in the history
…t-staging/metric-limits

test: adjust the metric limits for RSZ erv
  • Loading branch information
maliberty authored Feb 13, 2024
2 parents 99cd628 + 6b2279a commit 237a708
Show file tree
Hide file tree
Showing 10 changed files with 79 additions and 79 deletions.
18 changes: 9 additions & 9 deletions test/aes_nangate45.metrics_limits
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"IFP::instance_count" : "20110.8"
,"DPL::design_area" : "37658.4"
,"DPL::design_area" : "37657.2"
,"DPL::utilization" : "4.2"
,"RSZ::repair_design_buffer_count" : "411"
,"RSZ::max_slew_slack" : "0"
,"RSZ::max_capacitance_slack" : "0"
,"RSZ::max_fanout_slack" : "0"
,"RSZ::worst_slack_min" : "-0.0802665198037703"
,"RSZ::worst_slack_max" : "-0.2756862335238735"
,"RSZ::tns_max" : "-160.4952414135037"
,"RSZ::hold_buffer_count" : "158"
,"RSZ::worst_slack_min" : "-0.07348465287710419"
,"RSZ::worst_slack_max" : "-0.2857640612703239"
,"RSZ::tns_max" : "-161.19998614047154"
,"RSZ::hold_buffer_count" : "180"
,"GRT::ANT::errors" : "0"
,"DRT::drv" : "0"
,"DRT::worst_slack_min" : "-0.0973189908327772"
,"DRT::worst_slack_max" : "-0.33850542959137464"
,"DRT::tns_max" : "-169.30210623352156"
,"DRT::clock_skew" : "0.0999226729641479"
,"DRT::worst_slack_min" : "-0.09505827137937109"
,"DRT::worst_slack_max" : "-0.3357554070816022"
,"DRT::tns_max" : "-169.6294035431513"
,"DRT::clock_skew" : "0.10778999664601614"
,"DRT::max_slew_slack" : "0"
,"DRT::max_capacitance_slack" : "0"
,"DRT::max_fanout_slack" : "0"
Expand Down
22 changes: 11 additions & 11 deletions test/aes_sky130hd.metrics_limits
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"IFP::instance_count" : "20652.0"
,"DPL::design_area" : "267589.2"
,"DPL::design_area" : "266982.0"
,"DPL::utilization" : "8.88"
,"RSZ::repair_design_buffer_count" : "337"
,"RSZ::max_slew_slack" : "0"
,"RSZ::max_capacitance_slack" : "0"
,"RSZ::max_fanout_slack" : "0"
,"RSZ::worst_slack_min" : "-0.3725317300084078"
,"RSZ::worst_slack_max" : "-0.9667107861167497"
,"RSZ::tns_max" : "-722.0515644370687"
,"RSZ::hold_buffer_count" : "588"
,"GRT::ANT::errors" : "370"
,"RSZ::worst_slack_min" : "-0.3739121813562685"
,"RSZ::worst_slack_max" : "-0.9812613694890056"
,"RSZ::tns_max" : "-726.1363468427867"
,"RSZ::hold_buffer_count" : "565"
,"GRT::ANT::errors" : "18"
,"DRT::drv" : "0"
,"DRT::worst_slack_min" : "-0.5005029228287285"
,"DRT::worst_slack_max" : "-1.6127087262088915"
,"DRT::tns_max" : "-796.0396142181382"
,"DRT::clock_skew" : "0.7517582769071717"
,"DRT::worst_slack_min" : "-0.6829915077928221"
,"DRT::worst_slack_max" : "-1.6396045458749164"
,"DRT::tns_max" : "-796.1812822328008"
,"DRT::clock_skew" : "0.70177479147513"
,"DRT::max_slew_slack" : "0"
,"DRT::max_capacitance_slack" : "-1.464389124259027"
,"DRT::max_capacitance_slack" : "0"
,"DRT::max_fanout_slack" : "0"
,"DRT::clock_period" : "3.74"
}
6 changes: 3 additions & 3 deletions test/flow_metrics.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ define_metric "DPL::design_area" "" "area" 7 "%7.0f" "<" {$value * 1.2}
define_metric "DPL::utilization" "" "util" 4 "%4.1f" "<" {$value * 1.2}

define_metric "RSZ::repair_design_buffer_count" "drv" "bufs" 4 "%4d" "<=" {int($value * 1.2)}
define_metric "RSZ::max_slew_slack" "max" "slew" 4 "%3.0f%%" ">=" {0}
define_metric "RSZ::max_capacitance_slack" "max" "cap" 4 "%3.0f%%" ">=" {0}
define_metric "RSZ::max_fanout_slack" "max" "fanout" 6 "%5.0f%%" ">=" {0}
define_metric "RSZ::max_slew_slack" "max" "slew" 4 "%3.0f%%" ">=" {min(0, $value * 1.2)}
define_metric "RSZ::max_capacitance_slack" "max" "cap" 4 "%3.0f%%" ">=" {min(0, $value * 1.2)}
define_metric "RSZ::max_fanout_slack" "max" "fanout" 6 "%5.0f%%" ">=" {min(0, $value * 1.2)}

define_metric "RSZ::worst_slack_min" "slack" "min" 5 "%5.2f" ">" {$value - $clock_period * .1}
define_metric "RSZ::worst_slack_max" "slack" "max" 5 "%5.2f" ">" {$value - $clock_period * .1}
Expand Down
18 changes: 9 additions & 9 deletions test/gcd_nangate45.metrics_limits
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"IFP::instance_count" : "435.59999999999997"
,"DPL::design_area" : "667.1999999999999"
,"DPL::utilization" : "10.44"
,"DPL::design_area" : "694.8"
,"DPL::utilization" : "10.799999999999999"
,"RSZ::repair_design_buffer_count" : "0"
,"RSZ::max_slew_slack" : "0"
,"RSZ::max_capacitance_slack" : "0"
,"RSZ::max_fanout_slack" : "0"
,"RSZ::worst_slack_min" : "0.006089494192367678"
,"RSZ::worst_slack_max" : "-0.09555735934112258"
,"RSZ::tns_max" : "-2.4352177296682354"
,"RSZ::worst_slack_min" : "0.0048636969162111285"
,"RSZ::worst_slack_max" : "-0.08975064295792731"
,"RSZ::tns_max" : "-2.3601551602723556"
,"RSZ::hold_buffer_count" : "0"
,"GRT::ANT::errors" : "0"
,"DRT::drv" : "0"
,"DRT::worst_slack_min" : "0.0052239920534674494"
,"DRT::worst_slack_max" : "-0.11017350138483673"
,"DRT::tns_max" : "-2.570792340598892"
,"DRT::clock_skew" : "0.004685135745307725"
,"DRT::worst_slack_min" : "0.003169558982764782"
,"DRT::worst_slack_max" : "-0.09463390355869788"
,"DRT::tns_max" : "-2.574469066293528"
,"DRT::clock_skew" : "0.0017005189404608468"
,"DRT::max_slew_slack" : "0"
,"DRT::max_capacitance_slack" : "0"
,"DRT::max_fanout_slack" : "0"
Expand Down
16 changes: 8 additions & 8 deletions test/gcd_sky130hd.metrics_limits
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
,"RSZ::max_slew_slack" : "0"
,"RSZ::max_capacitance_slack" : "0"
,"RSZ::max_fanout_slack" : "0"
,"RSZ::worst_slack_min" : "0.0472776537967019"
,"RSZ::worst_slack_max" : "-1.0212987149501194"
,"RSZ::tns_max" : "-25.162889939480635"
,"RSZ::worst_slack_min" : "0.045059539153070705"
,"RSZ::worst_slack_max" : "-1.0308972594032841"
,"RSZ::tns_max" : "-25.039001480926537"
,"RSZ::hold_buffer_count" : "0"
,"GRT::ANT::errors" : "9"
,"GRT::ANT::errors" : "0"
,"DRT::drv" : "0"
,"DRT::worst_slack_min" : "0.03971731234093967"
,"DRT::worst_slack_max" : "-1.0545176990094256"
,"DRT::tns_max" : "-27.318571855690102"
,"DRT::clock_skew" : "0.028153347117122647"
,"DRT::worst_slack_min" : "0.04016484325482311"
,"DRT::worst_slack_max" : "-1.0498547621741232"
,"DRT::tns_max" : "-27.305904654710083"
,"DRT::clock_skew" : "0.030332004433342708"
,"DRT::max_slew_slack" : "0"
,"DRT::max_capacitance_slack" : "0"
,"DRT::max_fanout_slack" : "0"
Expand Down
20 changes: 10 additions & 10 deletions test/gcd_sky130hs.metrics_limits
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"IFP::instance_count" : "366.0"
,"DPL::design_area" : "6609.599999999999"
,"DPL::utilization" : "8.52"
,"DPL::design_area" : "6734.4"
,"DPL::utilization" : "8.76"
,"RSZ::repair_design_buffer_count" : "0"
,"RSZ::max_slew_slack" : "0"
,"RSZ::max_capacitance_slack" : "0"
,"RSZ::max_fanout_slack" : "0"
,"RSZ::worst_slack_min" : "-0.07956559769579868"
,"RSZ::worst_slack_max" : "-0.4104147606819834"
,"RSZ::tns_max" : "-9.51068177476705"
,"RSZ::worst_slack_min" : "-0.08372094054988684"
,"RSZ::worst_slack_max" : "-0.4232431660497342"
,"RSZ::tns_max" : "-9.88533587089616"
,"RSZ::hold_buffer_count" : "0"
,"GRT::ANT::errors" : "3"
,"GRT::ANT::errors" : "0"
,"DRT::drv" : "0"
,"DRT::worst_slack_min" : "-0.0695149149030681"
,"DRT::worst_slack_max" : "-0.41842168936203145"
,"DRT::tns_max" : "-9.472763660600815"
,"DRT::clock_skew" : "0.0428372349717154"
,"DRT::worst_slack_min" : "-0.07344491023235972"
,"DRT::worst_slack_max" : "-0.44358689332832546"
,"DRT::tns_max" : "-10.706574082686528"
,"DRT::clock_skew" : "0.02933989800824873"
,"DRT::max_slew_slack" : "0"
,"DRT::max_capacitance_slack" : "0"
,"DRT::max_fanout_slack" : "0"
Expand Down
12 changes: 6 additions & 6 deletions test/ibex_sky130hd.metrics_limits
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
,"RSZ::worst_slack_max" : "-3.8119741869253696"
,"RSZ::tns_max" : "-2409.420754735318"
,"RSZ::hold_buffer_count" : "398"
,"GRT::ANT::errors" : "0"
,"GRT::ANT::errors" : "1"
,"DRT::drv" : "0"
,"DRT::worst_slack_min" : "-2.0337965314744353"
,"DRT::worst_slack_max" : "-4.874176987152166"
,"DRT::tns_max" : "-2521.912402360734"
,"DRT::clock_skew" : "3.382374209784862"
,"DRT::max_slew_slack" : "-5.10252296924591"
,"DRT::worst_slack_min" : "-2.0453150956806883"
,"DRT::worst_slack_max" : "-4.953485993203881"
,"DRT::tns_max" : "-2522.4904715251882"
,"DRT::clock_skew" : "3.390433896264532"
,"DRT::max_slew_slack" : "-6.942100524902344"
,"DRT::max_capacitance_slack" : "0"
,"DRT::max_fanout_slack" : "0"
,"DRT::clock_period" : "15.155"
Expand Down
26 changes: 13 additions & 13 deletions test/ibex_sky130hs.metrics_limits
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"IFP::instance_count" : "16722.0"
,"DPL::design_area" : "291807.6"
,"DPL::utilization" : "48.24"
,"RSZ::repair_design_buffer_count" : "556"
,"DPL::design_area" : "293479.2"
,"DPL::utilization" : "48.48"
,"RSZ::repair_design_buffer_count" : "590"
,"RSZ::max_slew_slack" : "0"
,"RSZ::max_capacitance_slack" : "0"
,"RSZ::max_fanout_slack" : "0"
,"RSZ::worst_slack_min" : "-1.1237606353540097"
,"RSZ::worst_slack_max" : "-1.12055964023888"
,"RSZ::worst_slack_min" : "-1.1284937382864528"
,"RSZ::worst_slack_max" : "-1.1240421879210174"
,"RSZ::tns_max" : "-1573.2615"
,"RSZ::hold_buffer_count" : "363"
,"GRT::ANT::errors" : "2"
,"RSZ::hold_buffer_count" : "402"
,"GRT::ANT::errors" : "1"
,"DRT::drv" : "0"
,"DRT::worst_slack_min" : "-1.3678467269347552"
,"DRT::worst_slack_max" : "-1.7441577199526734"
,"DRT::tns_max" : "-1617.9966821581827"
,"DRT::clock_skew" : "2.3932203562950036"
,"DRT::max_slew_slack" : "-9.450187683105469"
,"DRT::max_capacitance_slack" : "-12.616376209867834"
,"DRT::worst_slack_min" : "-1.4563725827529734"
,"DRT::worst_slack_max" : "-1.863312187395882"
,"DRT::tns_max" : "-1622.5280442386695"
,"DRT::clock_skew" : "2.5175979347186623"
,"DRT::max_slew_slack" : "-2.998761311173439"
,"DRT::max_capacitance_slack" : "-5.432641838710459"
,"DRT::max_fanout_slack" : "0"
,"DRT::clock_period" : "11.29"
}
12 changes: 6 additions & 6 deletions test/jpeg_sky130hd.metrics_limits
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
,"RSZ::hold_buffer_count" : "33"
,"GRT::ANT::errors" : "1"
,"DRT::drv" : "0"
,"DRT::worst_slack_min" : "-0.9550843941607152"
,"DRT::worst_slack_max" : "-1.2728715330925853"
,"DRT::tns_max" : "-3682.812384769117"
,"DRT::clock_skew" : "0.7269950180960807"
,"DRT::max_slew_slack" : "-8.464315834810018"
,"DRT::max_capacitance_slack" : "-12.361774103457746"
,"DRT::worst_slack_min" : "-0.9567388485588029"
,"DRT::worst_slack_max" : "-1.2609459611139935"
,"DRT::tns_max" : "-3672.2116925894506"
,"DRT::clock_skew" : "0.701922007052359"
,"DRT::max_slew_slack" : "-7.742557296512137"
,"DRT::max_capacitance_slack" : "-11.563251107250052"
,"DRT::max_fanout_slack" : "0"
,"DRT::clock_period" : "8.0"
}
8 changes: 4 additions & 4 deletions test/jpeg_sky130hs.metrics_limits
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
,"RSZ::hold_buffer_count" : "21"
,"GRT::ANT::errors" : "0"
,"DRT::drv" : "0"
,"DRT::worst_slack_min" : "-0.709434309300816"
,"DRT::worst_slack_max" : "-0.9349705720168946"
,"DRT::tns_max" : "-3188.9074879863147"
,"DRT::clock_skew" : "0.5165915841317594"
,"DRT::worst_slack_min" : "-0.7104947943639305"
,"DRT::worst_slack_max" : "-0.9343399653210727"
,"DRT::tns_max" : "-3188.8552355602274"
,"DRT::clock_skew" : "0.5166518026303183"
,"DRT::max_slew_slack" : "0"
,"DRT::max_capacitance_slack" : "0"
,"DRT::max_fanout_slack" : "0"
Expand Down

0 comments on commit 237a708

Please sign in to comment.