Skip to content

Commit 613070c

Browse files
authored
Merge pull request #8505 from Pinata-Consulting/mock-array-floorplan-fixes
Mock array floorplan fixes
2 parents 74dbef2 + d7ca3e1 commit 613070c

File tree

3 files changed

+26
-23
lines changed

3 files changed

+26
-23
lines changed

test/orfs/mock-array/BUILD

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,17 @@ ce_x = 20
5757

5858
ce_y = 20
5959

60-
pitch_x = 20
61-
62-
pitch_y = 22
63-
6460
# Element size is set to multiple of placement grid above
6561
ce_width = ce_x * placement_grid_x
6662

6763
ce_height = ce_y * placement_grid_y
6864

65+
# Routing by abutment horizontally
66+
pitch_x = ce_width
67+
68+
# Some routing space vertically for clock routing
69+
pitch_y = ce_height + (placement_grid_y * 2)
70+
6971
# top level core offset
7072
margin_x = placement_grid_x
7173

@@ -81,13 +83,14 @@ array_spacing_x = margin_x * 2
8183

8284
array_spacing_y = margin_y * 2
8385

84-
# top level core and die size
86+
# top level core and die size, we need some space around the
87+
# array to put some flip flops and buffers for top level io pins
8588
core_width = (
86-
2 * margin_x + ((placement_grid_x * pitch_x) * (cols - 1)) + ce_width
89+
pitch_x * (cols - 1) + ce_width + margin_x * 2
8790
)
8891

8992
core_height = (
90-
2 * margin_y + ((placement_grid_y * pitch_y) * (rows - 1)) + ce_height
93+
pitch_y * (rows - 1) + ce_height + margin_x * 2
9194
)
9295

9396
die_width = core_width + (array_spacing_x * 2)

test/orfs/mock-array/rules-base.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"synth__design__instance__area__stdcell": {
3-
"value": 14398.9,
3+
"value": 14315.22,
44
"compare": "<="
55
},
66
"constraints__clocks__count": {
@@ -24,19 +24,19 @@
2424
"compare": "<="
2525
},
2626
"cts__design__instance__count__hold_buffer": {
27-
"value": 1521,
27+
"value": 1614,
2828
"compare": "<="
2929
},
3030
"globalroute__antenna_diodes_count": {
3131
"value": 0,
3232
"compare": "<="
3333
},
3434
"detailedroute__route__wirelength": {
35-
"value": 128034,
35+
"value": 127790,
3636
"compare": "<="
3737
},
3838
"detailedroute__route__drc_errors": {
39-
"value": 0,
39+
"value": 1,
4040
"compare": "<="
4141
},
4242
"detailedroute__antenna__violating__nets": {
@@ -48,23 +48,23 @@
4848
"compare": "<="
4949
},
5050
"finish__timing__setup__ws": {
51-
"value": -114.39,
51+
"value": -115.35,
5252
"compare": ">="
5353
},
5454
"finish__design__instance__area": {
55-
"value": 138041,
55+
"value": 138047,
5656
"compare": "<="
5757
},
5858
"finish__timing__drv__setup_violation_count": {
5959
"value": 1040,
6060
"compare": "<="
6161
},
6262
"finish__timing__drv__hold_violation_count": {
63-
"value": 159,
63+
"value": 152,
6464
"compare": "<="
6565
},
6666
"finish__timing__wns_percent_delay": {
67-
"value": -39.79,
67+
"value": -40.47,
6868
"compare": ">="
6969
}
7070
}

test/orfs/mock-array/rules-flat.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"synth__design__instance__area__stdcell": {
3-
"value": 14398.9,
3+
"value": 14315.22,
44
"compare": "<="
55
},
66
"constraints__clocks__count": {
@@ -24,19 +24,19 @@
2424
"compare": "<="
2525
},
2626
"cts__design__instance__count__hold_buffer": {
27-
"value": 1521,
27+
"value": 1614,
2828
"compare": "<="
2929
},
3030
"globalroute__antenna_diodes_count": {
3131
"value": 0,
3232
"compare": "<="
3333
},
3434
"detailedroute__route__wirelength": {
35-
"value": 128034,
35+
"value": 127790,
3636
"compare": "<="
3737
},
3838
"detailedroute__route__drc_errors": {
39-
"value": 0,
39+
"value": 1,
4040
"compare": "<="
4141
},
4242
"detailedroute__antenna__violating__nets": {
@@ -48,23 +48,23 @@
4848
"compare": "<="
4949
},
5050
"finish__timing__setup__ws": {
51-
"value": -114.39,
51+
"value": -115.35,
5252
"compare": ">="
5353
},
5454
"finish__design__instance__area": {
55-
"value": 138041,
55+
"value": 138047,
5656
"compare": "<="
5757
},
5858
"finish__timing__drv__setup_violation_count": {
5959
"value": 1040,
6060
"compare": "<="
6161
},
6262
"finish__timing__drv__hold_violation_count": {
63-
"value": 159,
63+
"value": 152,
6464
"compare": "<="
6565
},
6666
"finish__timing__wns_percent_delay": {
67-
"value": -39.79,
67+
"value": -40.47,
6868
"compare": ">="
6969
}
7070
}

0 commit comments

Comments
 (0)