Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flow/designs/asap7/aes-block/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"compare": ">="
},
"finish__timing__setup__tns": {
"value": -2534.73,
"value": -2522.136,
"compare": ">="
},
"finish__timing__hold__ws": {
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/asap7/cva6/rules-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"synth__design__instance__area__stdcell": {
"value": 18784.4143,
"value": 18784.414249,
"compare": "<="
},
"constraints__clocks__count": {
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/asap7/ethmac/rules-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"synth__design__instance__area__stdcell": {
"value": 8468.1902,
"value": 8468.190117,
"compare": "<="
},
"constraints__clocks__count": {
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/asap7/ethmac_lvt/rules-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"synth__design__instance__area__stdcell": {
"value": 8418.6772,
"value": 8418.677166,
"compare": "<="
},
"constraints__clocks__count": {
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/asap7/gcd-ccs/rules-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"synth__design__instance__area__stdcell": {
"value": 43.108,
"value": 43.107957,
"compare": "<="
},
"constraints__clocks__count": {
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/asap7/gcd/rules-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"synth__design__instance__area__stdcell": {
"value": 43.108,
"value": 43.107957,
"compare": "<="
},
"constraints__clocks__count": {
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/asap7/jpeg_lvt/rules-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"synth__design__instance__area__stdcell": {
"value": 7047.5726,
"value": 7047.572508,
"compare": "<="
},
"constraints__clocks__count": {
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/asap7/riscv32i-mock-sram/rules-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"synth__design__instance__area__stdcell": {
"value": 1640.7857,
"value": 1640.785638,
"compare": "<="
},
"constraints__clocks__count": {
Expand Down
6 changes: 3 additions & 3 deletions flow/designs/asap7/riscv32i/rules-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"synth__design__instance__area__stdcell": {
"value": 2908.6846,
"value": 2908.684535,
"compare": "<="
},
"constraints__clocks__count": {
Expand Down Expand Up @@ -52,7 +52,7 @@
"compare": ">="
},
"globalroute__timing__setup__tns": {
"value": -170.7395,
"value": -170.739599,
"compare": ">="
},
"globalroute__timing__hold__ws": {
Expand Down Expand Up @@ -100,7 +100,7 @@
"compare": ">="
},
"finish__timing__setup__tns": {
"value": -73.8605,
"value": -73.860599,
"compare": ">="
},
"finish__timing__hold__ws": {
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/asap7/swerv_wrapper/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"compare": ">="
},
"finish__timing__setup__tns": {
"value": -127057.2,
"value": -145602.0,
"compare": ">="
},
"finish__timing__hold__ws": {
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/gf180/aes-hybrid/rules-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"synth__design__instance__area__stdcell": {
"value": 489779.4138,
"value": 489779.41376,
"compare": "<="
},
"constraints__clocks__count": {
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/gf180/aes/rules-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"synth__design__instance__area__stdcell": {
"value": 620261.4903,
"value": 620261.49024,
"compare": "<="
},
"constraints__clocks__count": {
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/gf180/ibex/rules-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"synth__design__instance__area__stdcell": {
"value": 719477.882,
"value": 719477.88192,
"compare": "<="
},
"constraints__clocks__count": {
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/gf180/uart-blocks/rules-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"synth__design__instance__area__stdcell": {
"value": 61335.0003,
"value": 61335.00022,
"compare": "<="
},
"constraints__clocks__count": {
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/ihp-sg13g2/aes/rules-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"synth__design__instance__area__stdcell": {
"value": 217171.9904,
"value": 217171.99035,
"compare": "<="
},
"constraints__clocks__count": {
Expand Down
2 changes: 1 addition & 1 deletion flow/designs/ihp-sg13g2/gcd/rules-base.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"synth__design__instance__area__stdcell": {
"value": 5458.2237,
"value": 5458.22361,
"compare": "<="
},
"constraints__clocks__count": {
Expand Down
4 changes: 2 additions & 2 deletions flow/designs/nangate45/ariane133/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"compare": "<="
},
"globalroute__timing__setup__ws": {
"value": -0.16,
"value": -0.159555,
"compare": ">="
},
"globalroute__timing__setup__tns": {
Expand Down Expand Up @@ -100,7 +100,7 @@
"compare": ">="
},
"finish__timing__setup__tns": {
"value": -29.46,
"value": -29.46876,
"compare": ">="
},
"finish__timing__hold__ws": {
Expand Down
6 changes: 3 additions & 3 deletions flow/designs/nangate45/ariane136/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,15 @@
"compare": ">="
},
"finish__timing__hold__ws": {
"value": -0.0154,
"value": -0.015406,
"compare": ">="
},
"finish__timing__hold__tns": {
"value": -0.04,
"value": -0.046753,
"compare": ">="
},
"finish__design__instance__area": {
"value": 864445,
"value": 864432,
"compare": "<="
},
"finish__timing__wns_percent_delay": {
Expand Down
10 changes: 5 additions & 5 deletions flow/designs/nangate45/black_parrot/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,19 @@
"compare": "<="
},
"detailedroute__timing__setup__ws": {
"value": -2.4119,
"value": -2.41194,
"compare": ">="
},
"detailedroute__timing__setup__tns": {
"value": -118.5362,
"value": -118.536239,
"compare": ">="
},
"detailedroute__timing__hold__ws": {
"value": -0.3177,
"value": -0.315398,
"compare": ">="
},
"detailedroute__timing__hold__tns": {
"value": -14.8274,
"value": -14.82744,
"compare": ">="
},
"finish__timing__setup__ws": {
Expand All @@ -112,7 +112,7 @@
"compare": ">="
},
"finish__design__instance__area": {
"value": 789569,
"value": 789561,
"compare": "<="
},
"finish__timing__wns_percent_delay": {
Expand Down
4 changes: 2 additions & 2 deletions flow/designs/nangate45/bp_be_top/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@
"compare": ">="
},
"finish__design__instance__area": {
"value": 275517,
"value": 275393,
"compare": "<="
},
"finish__timing__wns_percent_delay": {
"value": -19.32,
"value": -19.186444,
"compare": ">="
}
}
2 changes: 1 addition & 1 deletion flow/designs/nangate45/bp_multi_top/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"compare": ">="
},
"detailedroute__route__wirelength": {
"value": 4108428,
"value": 4107715,
"compare": "<="
},
"detailedroute__route__drc_errors": {
Expand Down
6 changes: 3 additions & 3 deletions flow/designs/nangate45/mempool_group/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"compare": ">="
},
"globalroute__timing__setup__tns": {
"value": -12286.56,
"value": -11523.287999,
"compare": ">="
},
"globalroute__timing__hold__ws": {
Expand Down Expand Up @@ -84,7 +84,7 @@
"compare": ">="
},
"detailedroute__timing__setup__tns": {
"value": -8176.116,
"value": -8031.924,
"compare": ">="
},
"detailedroute__timing__hold__ws": {
Expand All @@ -100,7 +100,7 @@
"compare": ">="
},
"finish__timing__setup__tns": {
"value": -12235.92,
"value": -11590.787999,
"compare": ">="
},
"finish__timing__hold__ws": {
Expand Down
4 changes: 2 additions & 2 deletions flow/designs/nangate45/tinyRocket/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
"compare": "<="
},
"globalroute__timing__setup__ws": {
"value": -0.13,
"value": -0.129865,
"compare": ">="
},
"globalroute__timing__setup__tns": {
"value": -23.89,
"value": -23.62692,
"compare": ">="
},
"globalroute__timing__hold__ws": {
Expand Down
12 changes: 6 additions & 6 deletions flow/designs/sky130hd/microwatt/rules-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@
"compare": ">="
},
"globalroute__timing__hold__ws": {
"value": -0.0355,
"value": -0.035513,
"compare": ">="
},
"globalroute__timing__hold__tns": {
"value": -0.04,
"value": -0.045847,
"compare": ">="
},
"detailedroute__route__wirelength": {
Expand All @@ -84,7 +84,7 @@
"compare": ">="
},
"detailedroute__timing__setup__tns": {
"value": -82.9414,
"value": -82.94148,
"compare": ">="
},
"detailedroute__timing__hold__ws": {
Expand All @@ -96,19 +96,19 @@
"compare": ">="
},
"finish__timing__setup__ws": {
"value": -3.08,
"value": -3.07893,
"compare": ">="
},
"finish__timing__setup__tns": {
"value": -557.0015,
"compare": ">="
},
"finish__timing__hold__ws": {
"value": -0.5048,
"value": -0.504893,
"compare": ">="
},
"finish__timing__hold__tns": {
"value": -19.2273,
"value": -19.22736,
"compare": ">="
},
"finish__design__instance__area": {
Expand Down
2 changes: 1 addition & 1 deletion flow/util/genRuleFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def gen_rule_file(
if option["round_value"] and not isinf(rule_value):
rule_value = int(round(rule_value))
else:
rule_value = ceil(rule_value * 10000) / 10000.0
rule_value = ceil(rule_value * 1000000) / 1000000.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It feel like a better method is needed to preserve a fixed amount of significant digits. That can be in a future PR.


preserve_old_rule = (
True
Expand Down