Skip to content

Commit 9e1f3fb

Browse files
committed
mock-array: bazel cleanup
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 8bdaf88 commit 9e1f3fb

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

flow/designs/asap7/mock-array/BUILD.bazel

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ orfs_flow(
3232
name = "MockArray",
3333
arguments = {
3434
"PLACE_PINS_ARGS": "-annealing",
35-
"IO_CONSTRAINTS": "$(location :mock-array-io)",
3635
"PLACE_DENSITY": "0.30",
3736
"DIE_AREA": "0 0 358.56 388.8",
3837
"CORE_AREA": "2.16 2.16 356.40000000000003 386.64000000000004",
@@ -42,17 +41,15 @@ orfs_flow(
4241
"MACRO_HALO_X": "0.5",
4342
"MACRO_HALO_Y": "0.5",
4443
"MACRO_BLOCKAGE_HALO": "0",
45-
"SDC_FILE": "$(location :mock-array-constraints)",
4644
"MAX_ROUTING_LAYER": "M9",
4745
"GDS_ALLOW_EMPTY": "Element",
4846
"PWR_NETS_VOLTAGEsS": "",
4947
"GND_NETS_VOLTAGES": "",
5048
},
5149
macros = ["Element_generate_abstract"],
52-
stage_sources = {
53-
"synth": [":mock-array-constraints"] + [":mock-array-io"],
54-
"floorplan": [":mock-array-io"],
55-
"place": [":mock-array-io"],
50+
sources = {
51+
"SDC_FILE": [":mock-array-constraints"],
52+
"IO_CONSTRAINTS": [":mock-array-io"],
5653
},
5754
verilog_files = ["//designs/src/mock-array:verilog"],
5855
)
@@ -68,8 +65,6 @@ filegroup(
6865
visibility = [":__subpackages__"],
6966
)
7067

71-
mock_array_all_sources = ["//designs/src/mock-array:util.tcl"]
72-
7368
orfs_sweep(
7469
name = "Element",
7570
abstract_stage = "route",
@@ -85,20 +80,14 @@ orfs_sweep(
8580
"PLACE_PINS_ARGS": "-annealing",
8681
"GND_NETS_VOLTAGES": "",
8782
"PWR_NETS_VOLTAGES": "",
88-
"SDC_FILE": "$(location :mock-array-constraints)",
89-
"IO_CONSTRAINTS": "$(location :mock-array-element-io)",
9083
"DIE_AREA": "0 0 43.2 43.2",
9184
"CORE_AREA": "1.08 1.08 42.120000000000005 42.120000000000005",
9285
"PDN_TCL": "$(PLATFORM_DIR)/openRoad/pdn/BLOCK_grid_strategy.tcl",
9386
},
9487
other_variants = {"base": {}},
95-
stage_sources = {
96-
"synth": mock_array_all_sources + [":mock-array-constraints"],
97-
"floorplan": mock_array_all_sources + [":mock-array-element-io"],
98-
"place": mock_array_all_sources + [":mock-array-element-io"],
99-
"cts": mock_array_all_sources,
100-
"route": mock_array_all_sources,
101-
"final": mock_array_all_sources,
88+
sources = {
89+
"IO_CONSTRAINTS": [":mock-array-element-io"],
90+
"SDC_FILE": [":mock-array-constraints"],
10291
},
10392
sweep = {
10493
value: {

0 commit comments

Comments
 (0)