Skip to content

Commit

Permalink
reduce to 12 sram blocks, ///sta-blackbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-Herrmann committed Oct 17, 2023
1 parent 9076575 commit f158582
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/user_project_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ jobs:
if: failure()
run: |
cp -r /home/prherrma/actions-runner/_work/tapeout-ci-2311/tapeout-ci-2311/openlane/soc/runs/23* ~/old-runs/
latest_directory=$(ls -td -- ~/old-runs/* | head -n 1)
ln -sfn "$latest_directory" ~/old-logs/latest
- name: Run DV RTL Tests
run: |
Expand Down
1 change: 1 addition & 0 deletions openlane/macros/sky130_sram_2kbyte_1rw1r_32x512_8.v
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Words: 512
// Word size: 32
// Write size: 8
/// sta-blackbox
(* whitebox *)
module sky130_sram_2kbyte_1rw1r_32x512_8(
`ifdef USE_POWER_PINS
Expand Down
12 changes: 8 additions & 4 deletions openlane/soc/macro.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ genblk1[0].sram1 100 100 N
genblk1[1].sram1 650 100 N
genblk1[2].sram1 1200 100 N
genblk1[3].sram1 1750 100 N
genblk1[4].sram1 100 1000 N
genblk1[5].sram1 650 1000 N
genblk1[6].sram1 1200 1000 N
genblk1[7].sram1 1750 1000 N
genblk1[4].sram1 100 900 N
genblk1[5].sram1 650 900 N
genblk1[6].sram1 1200 900 N
genblk1[7].sram1 1750 900 N
genblk1[8].sram1 100 1700 N
genblk1[9].sram1 650 1700 N
genblk1[10].sram1 1200 1700 N
genblk1[11].sram1 1750 1700 N
2 changes: 1 addition & 1 deletion verilog/rtl/rtl/soc/modules/sram_wrap.sv
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
module sram_wrap #(
parameter SRAM_BASE_ADDR = 32'h8000_0000,
parameter SRAM_END_ADDR = 32'h8000_C000,
parameter SRAM_NUM_BLOCKS = 24,
parameter SRAM_NUM_BLOCKS = 12,
parameter SRAM_LOG_BLOCKS = $clog2(SRAM_NUM_BLOCKS),
parameter SRAM_LOG_BLOCK_SIZE = 9 )
(
Expand Down

0 comments on commit f158582

Please sign in to comment.