Skip to content

Commit d046fe6

Browse files
committed
Rules updates for Rapidus designs for PDK 0.3
updated ibex results after merging Signed-off-by: Jeff Ng <jeffng@precisioninno.com>
1 parent 3b73eb1 commit d046fe6

23 files changed

Lines changed: 211 additions & 211 deletions

docs/user/FlowVariables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ configuration file.
143143
| <a name="FLOW_VARIANT"></a>FLOW_VARIANT| Flow variant to use, used in the flow variant directory name.| base|
144144
| <a name="FOOTPRINT"></a>FOOTPRINT| Custom footprint definition file for ICeWall-based floorplan initialization. Mutually exclusive with FLOORPLAN_DEF or DIE_AREA/CORE_AREA or CORE_UTILIZATION.| |
145145
| <a name="FOOTPRINT_TCL"></a>FOOTPRINT_TCL| Specifies a Tcl script with custom footprint-related commands for floorplan setup.| |
146-
| <a name="GDS_ALLOW_EMPTY"></a>GDS_ALLOW_EMPTY| Regular expression of module names of macros that have no .gds file| |
146+
| <a name="GDS_ALLOW_EMPTY"></a>GDS_ALLOW_EMPTY| Single regular expression of module names of macros that have no .gds file| |
147147
| <a name="GDS_FILES"></a>GDS_FILES| Path to platform GDS files.| |
148148
| <a name="GENERATE_ARTIFACTS_ON_FAILURE"></a>GENERATE_ARTIFACTS_ON_FAILURE| For instance Bazel needs artifacts (.odb and .rpt files) on a failure to allow the user to save hours on re-running the failed step locally, but when working with a Makefile flow, it is more natural to fail the step and leave the user to manually inspect the logs and artifacts directly via the file system. Set to 1 to change the behavior to generate artifacts upon failure to e.g. do a global route. The exit code will still be non-zero on all other failures that aren't covered by the "useful to inspect the artifacts on failure" use-case. Example: just like detailed routing, a global route that fails with congestion, is not a build failure(as in exit code non-zero), it is a successful(as in zero exit code) global route that produce reports detailing the problem. Detailed route will not proceed, if there is global routing congestion This allows build systems, such as bazel, to create artifacts for global and detailed route, even if the operation had problems, without having know about the semantics between global and detailed route. Considering that global and detailed route can run for a long time and use a lot of memory, this allows inspecting results on a laptop for a build that ran on a server.| 0|
149149
| <a name="GLOBAL_PLACEMENT_ARGS"></a>GLOBAL_PLACEMENT_ARGS| Use additional tuning parameters during global placement other than default args defined in global_place.tcl.| |

flow/designs/rapidus2hp/cva6/rules-base.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,55 +28,55 @@
2828
"compare": "<="
2929
},
3030
"cts__timing__setup__ws": {
31-
"value": -30.0,
31+
"value": -0.0409,
3232
"compare": ">="
3333
},
3434
"cts__timing__setup__tns": {
35-
"value": -120.0,
35+
"value": -9.84,
3636
"compare": ">="
3737
},
3838
"cts__timing__hold__ws": {
39-
"value": -34.4,
39+
"value": -0.0627,
4040
"compare": ">="
4141
},
4242
"cts__timing__hold__tns": {
43-
"value": -127.0,
43+
"value": -1.34,
4444
"compare": ">="
4545
},
4646
"globalroute__antenna_diodes_count": {
4747
"value": 143,
4848
"compare": "<="
4949
},
5050
"globalroute__timing__setup__ws": {
51-
"value": -108.0,
51+
"value": -0.117,
5252
"compare": ">="
5353
},
5454
"globalroute__timing__setup__tns": {
55-
"value": -180000.0,
55+
"value": -263.0,
5656
"compare": ">="
5757
},
5858
"globalroute__timing__hold__ws": {
59-
"value": -30.0,
59+
"value": -0.0308,
6060
"compare": ">="
6161
},
6262
"globalroute__timing__hold__tns": {
63-
"value": -120.0,
63+
"value": -0.123,
6464
"compare": ">="
6565
},
6666
"finish__timing__setup__ws": {
67-
"value": -108.0,
67+
"value": -0.117,
6868
"compare": ">="
6969
},
7070
"finish__timing__setup__tns": {
71-
"value": -180000.0,
71+
"value": -263.0,
7272
"compare": ">="
7373
},
7474
"finish__timing__hold__ws": {
75-
"value": -30.0,
75+
"value": -0.0308,
7676
"compare": ">="
7777
},
7878
"finish__timing__hold__tns": {
79-
"value": -120.0,
79+
"value": -0.123,
8080
"compare": ">="
8181
},
8282
"finish__design__instance__area": {

flow/designs/rapidus2hp/cva6/rules-verific.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,55 +28,55 @@
2828
"compare": "<="
2929
},
3030
"cts__timing__setup__ws": {
31-
"value": -30.0,
31+
"value": -0.0275,
3232
"compare": ">="
3333
},
3434
"cts__timing__setup__tns": {
35-
"value": -120.0,
35+
"value": -0.11,
3636
"compare": ">="
3737
},
3838
"cts__timing__hold__ws": {
39-
"value": -54.9,
39+
"value": -0.0275,
4040
"compare": ">="
4141
},
4242
"cts__timing__hold__tns": {
43-
"value": -1320.0,
43+
"value": -0.11,
4444
"compare": ">="
4545
},
4646
"globalroute__antenna_diodes_count": {
4747
"value": 148,
4848
"compare": "<="
4949
},
5050
"globalroute__timing__setup__ws": {
51-
"value": -90.6,
51+
"value": -0.0949,
5252
"compare": ">="
5353
},
5454
"globalroute__timing__setup__tns": {
55-
"value": -151000.0,
55+
"value": -136.0,
5656
"compare": ">="
5757
},
5858
"globalroute__timing__hold__ws": {
59-
"value": -31.4,
59+
"value": -0.0275,
6060
"compare": ">="
6161
},
6262
"globalroute__timing__hold__tns": {
63-
"value": -125.0,
63+
"value": -0.11,
6464
"compare": ">="
6565
},
6666
"finish__timing__setup__ws": {
67-
"value": -90.6,
67+
"value": -0.0949,
6868
"compare": ">="
6969
},
7070
"finish__timing__setup__tns": {
71-
"value": -151000.0,
71+
"value": -136.0,
7272
"compare": ">="
7373
},
7474
"finish__timing__hold__ws": {
75-
"value": -31.4,
75+
"value": -0.0275,
7676
"compare": ">="
7777
},
7878
"finish__timing__hold__tns": {
79-
"value": -125.0,
79+
"value": -0.11,
8080
"compare": ">="
8181
},
8282
"finish__design__instance__area": {

flow/designs/rapidus2hp/cva6/test/test_params.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def get_exp_sdc(self, place_site, pdk_version):
2626

2727
if pdk_version in ["", "0.2a", "0.3"]:
2828
if pdk_version == "":
29-
pdk_version = "0.2a"
29+
pdk_version = "0.3"
3030
if place_site == "ra02h138_DST_45CPP":
3131
return os.path.join(
3232
self._design_full_dir, f"constraint_{pdk_version}_6T.sdc"
@@ -37,9 +37,9 @@ def get_exp_sdc(self, place_site, pdk_version):
3737

3838
return os.path.join(self._design_full_dir, "constraint.sdc")
3939

40-
def test_pdk_0p2a_default(self):
40+
def test_pdk_0p3_default(self):
4141
"""
42-
Tests PDK 0.2a
42+
Tests PDK 0.3
4343
"""
4444

4545
front_end = ""

flow/designs/rapidus2hp/ethmac/rules-base.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"compare": "=="
99
},
1010
"placeopt__design__instance__area": {
11-
"value": 3414,
11+
"value": 4564,
1212
"compare": "<="
1313
},
1414
"placeopt__design__instance__count__stdcell": {
15-
"value": 68181,
15+
"value": 88225,
1616
"compare": "<="
1717
},
1818
"detailedplace__design__violations": {
@@ -28,59 +28,59 @@
2828
"compare": "<="
2929
},
3030
"cts__timing__setup__ws": {
31-
"value": -31.4,
31+
"value": -0.0236,
3232
"compare": ">="
3333
},
3434
"cts__timing__setup__tns": {
35-
"value": -537.0,
35+
"value": -0.272,
3636
"compare": ">="
3737
},
3838
"cts__timing__hold__ws": {
39-
"value": -5.5,
39+
"value": -0.0055,
4040
"compare": ">="
4141
},
4242
"cts__timing__hold__tns": {
43-
"value": -22.0,
43+
"value": -0.022,
4444
"compare": ">="
4545
},
4646
"globalroute__antenna_diodes_count": {
4747
"value": 100,
4848
"compare": "<="
4949
},
5050
"globalroute__timing__setup__ws": {
51-
"value": -51.3,
51+
"value": -0.04,
5252
"compare": ">="
5353
},
5454
"globalroute__timing__setup__tns": {
55-
"value": -1570.0,
55+
"value": -0.703,
5656
"compare": ">="
5757
},
5858
"globalroute__timing__hold__ws": {
59-
"value": -5.5,
59+
"value": -0.0055,
6060
"compare": ">="
6161
},
6262
"globalroute__timing__hold__tns": {
63-
"value": -22.0,
63+
"value": -0.022,
6464
"compare": ">="
6565
},
6666
"finish__timing__setup__ws": {
67-
"value": -51.3,
67+
"value": -0.04,
6868
"compare": ">="
6969
},
7070
"finish__timing__setup__tns": {
71-
"value": -1570.0,
71+
"value": -0.703,
7272
"compare": ">="
7373
},
7474
"finish__timing__hold__ws": {
75-
"value": -5.5,
75+
"value": -0.0055,
7676
"compare": ">="
7777
},
7878
"finish__timing__hold__tns": {
79-
"value": -22.0,
79+
"value": -0.022,
8080
"compare": ">="
8181
},
8282
"finish__design__instance__area": {
83-
"value": 3577,
83+
"value": 4731,
8484
"compare": "<="
8585
}
8686
}

flow/designs/rapidus2hp/ethmac/rules-verific.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"compare": "=="
99
},
1010
"placeopt__design__instance__area": {
11-
"value": 3427,
11+
"value": 4537,
1212
"compare": "<="
1313
},
1414
"placeopt__design__instance__count__stdcell": {
15-
"value": 72530,
15+
"value": 86842,
1616
"compare": "<="
1717
},
1818
"detailedplace__design__violations": {
@@ -28,59 +28,59 @@
2828
"compare": "<="
2929
},
3030
"cts__timing__setup__ws": {
31-
"value": -29.7,
31+
"value": -0.0224,
3232
"compare": ">="
3333
},
3434
"cts__timing__setup__tns": {
35-
"value": -449.0,
35+
"value": -0.297,
3636
"compare": ">="
3737
},
3838
"cts__timing__hold__ws": {
39-
"value": -5.5,
39+
"value": -0.0055,
4040
"compare": ">="
4141
},
4242
"cts__timing__hold__tns": {
43-
"value": -22.0,
43+
"value": -0.022,
4444
"compare": ">="
4545
},
4646
"globalroute__antenna_diodes_count": {
4747
"value": 100,
4848
"compare": "<="
4949
},
5050
"globalroute__timing__setup__ws": {
51-
"value": -43.6,
51+
"value": -0.0417,
5252
"compare": ">="
5353
},
5454
"globalroute__timing__setup__tns": {
55-
"value": -1340.0,
55+
"value": -0.742,
5656
"compare": ">="
5757
},
5858
"globalroute__timing__hold__ws": {
59-
"value": -5.5,
59+
"value": -0.0055,
6060
"compare": ">="
6161
},
6262
"globalroute__timing__hold__tns": {
63-
"value": -22.0,
63+
"value": -0.022,
6464
"compare": ">="
6565
},
6666
"finish__timing__setup__ws": {
67-
"value": -43.6,
67+
"value": -0.0417,
6868
"compare": ">="
6969
},
7070
"finish__timing__setup__tns": {
71-
"value": -1340.0,
71+
"value": -0.742,
7272
"compare": ">="
7373
},
7474
"finish__timing__hold__ws": {
75-
"value": -5.5,
75+
"value": -0.0055,
7676
"compare": ">="
7777
},
7878
"finish__timing__hold__tns": {
79-
"value": -22.0,
79+
"value": -0.022,
8080
"compare": ">="
8181
},
8282
"finish__design__instance__area": {
83-
"value": 3599,
83+
"value": 4707,
8484
"compare": "<="
8585
}
8686
}

flow/designs/rapidus2hp/ethmac/test/test_params.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ def get_exp_util(self, place_site, pdk_version):
2828
if place_site == "ra02h138_DST_45CPP":
2929
return 63
3030
return 65
31-
if pdk_version == "0.3":
31+
if pdk_version in ["", "0.3"]:
3232
return 65
3333
return 70
3434

35-
def test_pdk_0p2a_default(self):
36-
"""Tests PDK 0.2a Utilization"""
35+
def test_pdk_0p3_default(self):
36+
"""Tests PDK 0.3 Utilization"""
3737

3838
front_end = ""
3939
pdk_version = ""

0 commit comments

Comments
 (0)