Skip to content

Commit

Permalink
BUILD: use offical ORFS docker image
Browse files Browse the repository at this point in the history
Signed-off-by: Øyvind Harboe <[email protected]>
  • Loading branch information
oharboe committed Jun 30, 2024
1 parent 98ac851 commit 5d0fb96
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
load("@bazel-orfs//:openroad.bzl", "build_openroad", "add_options_all_stages", "create_out_rule")
create_out_rule()

orfs_version = "openroad/orfs:41e7d95599c733b8c6a4bfba39440daed8cb5923"

filegroup(
name = "util",
srcs = [
Expand Down Expand Up @@ -527,6 +529,7 @@ exeunitsrc = [ "rtl/ALU.sv",
"rtl/RoundAnyRawFNToRecFN_1.sv"]

[build_openroad(
docker_image = orfs_version,
name = exe,
verilog_files=["rtl/" + exe + ".sv"] + exeunitsrc,
sdc_constraints = ":constraints.sdc",
Expand Down Expand Up @@ -592,6 +595,7 @@ fpfiles = ["rtl/FpPipeline.sv",
"rtl/RoundAnyRawFNToRecFN_3.sv"]

build_openroad(
docker_image = orfs_version,
name = "FpPipeline",
verilog_files=fpfiles,
macros=["regfile_128x65"],
Expand Down Expand Up @@ -625,6 +629,7 @@ registerreadsrc = ["rtl/RegisterRead_1.sv",
]

build_openroad(
docker_image = orfs_version,
name = "RegisterRead_1",
verilog_files=registerreadsrc,
sdc_constraints = ":constraints.sdc",
Expand All @@ -637,6 +642,7 @@ issueslotfiles = ["rtl/IssueUnitCollapsing_1.sv", "rtl/IssueUnitCollapsing_2.sv"
"rtl/IssueSlot_32.sv"]

[build_openroad(
docker_image = orfs_version,
name = exe,
verilog_files=issueslotfiles,
sdc_constraints = ":constraints.sdc",
Expand All @@ -647,6 +653,7 @@ issueslotfiles = ["rtl/IssueUnitCollapsing_1.sv", "rtl/IssueUnitCollapsing_2.sv"


build_openroad(
docker_image = orfs_version,
name = "Rob",
verilog_files=["rtl/Rob.sv"],
sdc_constraints = ":constraints.sdc",
Expand All @@ -655,6 +662,7 @@ build_openroad(
)

build_openroad(
docker_image = orfs_version,
name = "DecodeUnit",
verilog_files=["rtl/DecodeUnit.sv"],
sdc_constraints = ":constraints.sdc",
Expand All @@ -664,6 +672,7 @@ build_openroad(
)

build_openroad(
docker_image = orfs_version,
name = "BoomCore",
verilog_files=["rtl/BoomCore.sv",
"rtl/Arbiter_18.sv",
Expand Down Expand Up @@ -723,6 +732,7 @@ digital_top_srams=[


[build_openroad(
docker_image = orfs_version,
name = ram,
io_constraints=":io-sram",
verilog_files=[{'array_256x128':'mock',
Expand Down Expand Up @@ -758,6 +768,7 @@ digital_top_srams=[
big_rams = ['mem_8192x64', 'cc_banks_16384x64', 'TLROM', 'ghist_40x72']

[build_openroad(
docker_image = orfs_version,
name = ram,
io_constraints=":io-sram",
sdc_constraints = ":constraints-sram",
Expand All @@ -771,6 +782,7 @@ big_rams = ['mem_8192x64', 'cc_banks_16384x64', 'TLROM', 'ghist_40x72']
) for ram in big_rams if ram != 'TLROM']

build_openroad(
docker_image = orfs_version,
name = "TLROM",
io_constraints=":io",
verilog_files=["rtl/TLROM.sv",
Expand All @@ -790,6 +802,7 @@ boom_regfile_rams = [
"regfile_128x65"]

[build_openroad(
docker_image = orfs_version,
name = ram,
io_constraints=":io-sram",
verilog_files=["mock/" + ram + ".sv"],
Expand All @@ -811,6 +824,7 @@ boom_regfile_rams = [
for ram in boom_regfile_rams]

build_openroad(
docker_image = orfs_version,
name = "L1MetadataArray",
verilog_files=["rtl/L1MetadataArray.sv"],
variant="test",
Expand All @@ -830,6 +844,7 @@ build_openroad(
)

build_openroad(
docker_image = orfs_version,
name = "BoomTile",
verilog_files=all_source_files,
macros=boom_tile_rams + boom_regfile_rams + boom_tile_small_srams + digital_top_srams,
Expand Down

0 comments on commit 5d0fb96

Please sign in to comment.