Skip to content

Commit

Permalink
Add memory usage options to place and route step.
Browse files Browse the repository at this point in the history
OpenROAD uses ~6->8g of memory for place and route for these tests and
bazel recommends using 2x the value.

Signed-off-by: Tim 'mithro' Ansell <[email protected]>
  • Loading branch information
mithro committed Jan 10, 2024
1 parent 14c1dfd commit 7526836
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ place_and_route(
core_padding_microns = 20,
die_height_microns = 200,
die_width_microns = 200,
exec_properties = dict(
mem = "16g",
),
placement_density = "0.7",
synthesized_rtl = ":verilog_adder-synth",
)
Expand All @@ -84,6 +87,9 @@ place_and_route(
core_padding_microns = 20,
die_height_microns = 200,
die_width_microns = 200,
exec_properties = dict(
mem = "16g",
),
placement_density = "0.7",
sdc = "constraint.sdc",
synthesized_rtl = ":verilog_counter-synth",
Expand Down Expand Up @@ -120,12 +126,18 @@ place_and_route(
EXTRA_ARGS = {
"verilog_counter": {
"place_and_route": dict(
exec_properties = dict(
mem = "16g",
),
sdc = "constraint.sdc",
),
},
"verilog_adder": {
"place_and_route": dict(
clock_period = None, # Combinational only design
exec_properties = dict(
mem = "16g",
),
),
},
}
Expand Down

0 comments on commit 7526836

Please sign in to comment.