Skip to content

Commit

Permalink
flow/BUILD.bazel: Minor style changes
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Bylicki <[email protected]>
  • Loading branch information
jbylicki authored and glatosinski committed Sep 4, 2024
1 parent 821ee81 commit 4a2d938
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions flow/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ filegroup(
srcs = glob(include=["designs/asap7/swerv_wrapper/lib/*.lib"])
)

SWERV_ALL = {"LIB_MODEL":"CCS",
"ADDITIONAL_LEFS": "$(locations :additional_lefs)",
"ADDITIONAL_LIBS": "$(locations :additional_libs)",
SWERV_ALL = {
"LIB_MODEL":"CCS",
"ADDITIONAL_LEFS": "$(locations :additional_lefs)",
"ADDITIONAL_LIBS": "$(locations :additional_libs)",
}

all_sources = [":additional_lefs", ":additional_libs"]
Expand Down Expand Up @@ -93,8 +94,10 @@ orfs_flow(
"GND_NETS_VOLTAGES": "",
}
},
verilog_files = glob(include=["designs/src/swerv/swerv_wrapper.sv2v.v",
"designs/asap7/swerv_wrapper/macros.v"]),
verilog_files = glob(include=[
"designs/src/swerv/swerv_wrapper.sv2v.v",
"designs/asap7/swerv_wrapper/macros.v"
]),
stage_sources = {
"synth": all_sources + [":constraints-swerv"],
"floorplan": all_sources,
Expand All @@ -106,10 +109,6 @@ orfs_flow(
)






filegroup(
name = "mock-array-constraints",
srcs = [
Expand All @@ -136,8 +135,6 @@ filegroup(
],
visibility = [":__subpackages__"],
)
MOCK_ARRAY_ALL = {
}

MOCK_ARRAY_FLOORPLAN_PLACE = {
"PLACE_PINS_ARGS": "-annealing",
Expand All @@ -159,17 +156,17 @@ orfs_flow(
name = "MockArray",
macros = ["Element_generate_abstract"],
stage_args = {
"synth": MOCK_ARRAY_ALL | {
"synth": {
"SDC_FILE": "$(location :mock-array-constraints)",
},
"floorplan": MOCK_ARRAY_ALL | MOCK_ARRAY_FLOORPLAN_PLACE | {
"floorplan": MOCK_ARRAY_FLOORPLAN_PLACE | {
},
"place": MOCK_ARRAY_ALL | MOCK_ARRAY_FLOORPLAN_PLACE | {
"place": MOCK_ARRAY_FLOORPLAN_PLACE | {
},
"cts": MOCK_ARRAY_ALL | {
"cts": {
"CTS_BUF_DISTANCE": "60"
},
"route": MOCK_ARRAY_ALL | {
"route": {
"FASTROUTE_TCL": "$(location :mock-array-fastroute)",
# works with 28 or more iterations as of writing, so give it a few more.
"GLOBAL_ROUTE_ARGS" : "-congestion_iterations 40 -verbose",
Expand All @@ -182,7 +179,7 @@ orfs_flow(
"MIN_ROUTING_LAYER": "M2",
"MAX_ROUTING_LAYER": "M7",
},
"final": MOCK_ARRAY_ALL | {
"final": {
"GDS_ALLOW_EMPTY": "Element",
"PWR_NETS_VOLTAGEsS": "",
"GND_NETS_VOLTAGES": "",
Expand Down Expand Up @@ -211,7 +208,6 @@ filegroup(
visibility = [":__subpackages__"],
)


MOCK_ARRAY_ELEMENT_FLOORPLAN_PLACE = {
"IO_CONSTRAINTS": "$(location :mock-array-element-io)",
"PLACE_DENSITY": "0.50",
Expand All @@ -223,7 +219,6 @@ MOCK_ARRAY_ELEMENT_ALL = {
"MOCK_ARRAY_COLS" : "8",
}


mock_array_all_sources = ["designs/src/mock-array/util.tcl"]

orfs_flow(
Expand Down Expand Up @@ -268,4 +263,3 @@ orfs_flow(
},
)


0 comments on commit 4a2d938

Please sign in to comment.