Skip to content

Commit

Permalink
sram: faster builds mock with smaller srams
Browse files Browse the repository at this point in the history
Signed-off-by: Øyvind Harboe <[email protected]>
  • Loading branch information
oharboe committed Oct 28, 2024
1 parent 370dbe8 commit d68ee59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ write_binary(
"l2_tlb_ram_0_512x45": "mock/",
"tag_array_64x184": "mock/",
"data_2048x8": "mock/",
"mem_256x4": "mock/",
}.get(ram, "rtl/") + ram + ".sv",
],
)
Expand Down
2 changes: 1 addition & 1 deletion mock/data_2048x8.sv
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module data_2048x8(
input [3:0] W0_mask
);

reg [7:0] Memory[0:3]; // Reduced to 4 rows
reg [7:0] Memory[0:1]; // Reduced to 2 rows
reg _R0_en_d0;
reg [1:0] _R0_addr_d0; // Reduced to 2 bits
reg [1:0] _W0_addr_d0; // Reduced to 2 bits
Expand Down

0 comments on commit d68ee59

Please sign in to comment.