forked from The-OpenROAD-Project/bazel-orfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
64 lines (57 loc) · 1.52 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
load("//:openroad.bzl", "build_openroad")
# FIXME: this shouldn't be required
exports_files(glob(["*.mk"]))
exports_files(glob(["scripts/mem_dump.*"]))
exports_files(["mock_area.tcl"])
exports_files(["orfs"])
exports_files(["make_script.template.sh"])
build_openroad(
name = "tag_array_64x184",
io_constraints = "io-sram.tcl",
mock_abstract = True,
mock_area = 0.20,
mock_stage = "floorplan",
stage_args = {
"floorplan": [
"CORE_UTILIZATION=40",
"CORE_ASPECT_RATIO=2",
],
"place": ["PLACE_DENSITY=0.65"],
},
stage_sources = {
"synth": [
"test/constraints-sram.sdc",
"util.tcl",
],
"floorplan": ["util.tcl"],
"place": ["util.tcl"],
},
verilog_files = ["test/rtl/tag_array_64x184.sv"],
)
build_openroad(
name = "L1MetadataArray",
io_constraints = "io.tcl",
macros = ["tag_array_64x184"],
mock_abstract = True,
mock_stage = "grt",
stage_args = {
"synth": ["SYNTH_HIERARCHICAL=1"],
"floorplan": [
"CORE_UTILIZATION=3",
"RTLMP_FLOW=True",
"CORE_MARGIN=2",
"MACRO_PLACE_HALO=10 10",
],
"place": [
"PLACE_DENSITY=0.20",
"PLACE_PINS_ARGS=-annealing",
],
},
stage_sources = {
"synth": ["test/constraints-top.sdc"],
"floorplan": ["util.tcl"],
"place": ["util.tcl"],
},
variant = "test",
verilog_files = ["test/rtl/L1MetadataArray.sv"],
)