From d68ee59221806166a59576df48813e85ca32f8bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Mon, 28 Oct 2024 05:39:16 +0100 Subject: [PATCH] sram: faster builds mock with smaller srams MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- BUILD.bazel | 1 + mock/data_2048x8.sv | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/BUILD.bazel b/BUILD.bazel index 0ebb1a7..74a4715 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -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", ], ) diff --git a/mock/data_2048x8.sv b/mock/data_2048x8.sv index 723331d..3a029dc 100644 --- a/mock/data_2048x8.sv +++ b/mock/data_2048x8.sv @@ -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