Skip to content

Commit

Permalink
register file: one register file with pins on vertical side, other on…
Browse files Browse the repository at this point in the history
… horizontal

Improve layout.

Signed-off-by: Øyvind Harboe <[email protected]>
  • Loading branch information
oharboe committed Jul 28, 2024
1 parent 2f3f796 commit 277b7fc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 10 additions & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ filegroup(
visibility = [":__subpackages__"],
)

filegroup(
name = "io-sram-bottom",
srcs = [
"io-sram-bottom.tcl",
":util",
],
visibility = [":__subpackages__"],
)

filegroup(
name = "io-boomtile",
srcs = [
Expand Down Expand Up @@ -772,7 +781,7 @@ boom_regfile_rams = [
[build_openroad(
docker_image = orfs_version,
name = ram,
io_constraints=":io-sram",
io_constraints={'regfile_128x64':":io-sram-bottom", }.get(ram, ":io-sram"),
verilog_files=["mock/" + ram + ".sv"],
sdc_constraints = ":constraints-sram",
stage_args={
Expand Down
3 changes: 3 additions & 0 deletions io-sram-bottom.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source util.tcl

set_io_pin_constraint -region bottom:* -pin_names [match_pins {(R|W)[0-9]+_.*}]

0 comments on commit 277b7fc

Please sign in to comment.