Skip to content

Commit 21a6d30

Browse files
committed
ram_8x7: good/bad example
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 154ddae commit 21a6d30

File tree

4 files changed

+2589
-7
lines changed

4 files changed

+2589
-7
lines changed

test/orfs/ram_8x7/BUILD

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,18 @@ orfs_flow(
1111
name = "ram_8x7",
1212
# buildifier: disable=unsorted-dict-items
1313
arguments = {
14-
# Faster builds
15-
"GPL_TIMING_DRIVEN": "0",
16-
"SKIP_INCREMENTAL_REPAIR": "1",
17-
"SKIP_LAST_GASP": "1",
1814
# Various
1915
"CORE_AREA": "1.08 1.08 15.12 15.12",
2016
"DIE_AREA": "0 0 16.2 16.2",
2117
"PLACE_DENSITY": "0.35",
2218
"OPENROAD_HIERARCHICAL": "1",
19+
"HOLD_SLACK_MARGIN": "-1000",
20+
"MACRO_PLACE_HALO": "0 1",
21+
#"PDN_TCL": "$(PLATFORM_DIR)/openRoad/pdn/BLOCKS_grid_strategy.tcl",
22+
"RTLMP_BOUNDARY_WT": "0",
23+
"SETUP_SLACK_MARGIN": "-4000",
24+
"SKIP_REPORT_METRICS": "1",
25+
"TAPCELL_TCL": "",
2326
},
2427
sources = {
2528
"RULES_JSON": [":rules-base.json"],
@@ -94,5 +97,14 @@ filegroup(
9497
cc_srcs = ["ram_8x7_sim.cpp"],
9598
module_top = "ram_8x7",
9699
verilog = [":ram_8x7_{stage}.v".format(stage = stage) if stage != "source" else ":ram_8x7.sv"],
97-
#tags = ["manual"],
100+
tags = ["manual"],
98101
) for stage in STAGES[1:]]
102+
103+
OTHER = ["good.v", "bad.v"]
104+
[sim_test(
105+
name = "ram_8x7_{other}_sim_test".format(other = other[:-2]),
106+
cc_srcs = ["ram_8x7_sim.cpp"],
107+
module_top = "ram_8x7",
108+
verilog = [other],
109+
tags = ["manual"],
110+
) for other in OTHER]

0 commit comments

Comments
 (0)