Skip to content

Commit 3bd387f

Browse files
authored
Merge pull request #2777 from Pinata-Consulting/bazel-ibex2
sky130hd/ibex: add bazel
2 parents 17ba2cb + 8adcb9c commit 3bd387f

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
load("@bazel-orfs//:openroad.bzl", "orfs_flow")
2+
3+
orfs_flow(
4+
name = "ibex",
5+
arguments = {
6+
"ADDER_MAP_FILE": "",
7+
"CORE_UTILIZATION": "45",
8+
"PLACE_DENSITY_LB_ADDON": "0.2",
9+
"TNS_END_PERCENT": "100",
10+
"REMOVE_ABC_BUFFERS": "1",
11+
},
12+
pdk = "@docker_orfs//:sky130hd",
13+
sources = {
14+
"SDC_FILE": [":constraint.sdc"],
15+
"FASTROUTE_TCL": ["fastroute.tcl"],
16+
},
17+
top = "ibex_core",
18+
verilog_files = ["//designs/src/ibex:verilog"],
19+
)

flow/designs/src/ibex/BUILD.bazel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
filegroup(
2+
name = "verilog",
3+
srcs = glob(include = ["*.v"]),
4+
visibility = ["//visibility:public"],
5+
)

0 commit comments

Comments
 (0)