Skip to content

Commit d51e1f1

Browse files
committed
Updated SRAM sizes for asap7 cva6
Signed-off-by: Jeff Ng <[email protected]>
1 parent 15083f2 commit d51e1f1

File tree

8 files changed

+5447
-10
lines changed

8 files changed

+5447
-10
lines changed

flow/designs/asap7/cva6/config.mk

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,22 @@ export VERILOG_FILES = $(sort $(wildcard $(SRC_HOME)/common/local/util/
2323
$(sort $(wildcard $(SRC_HOME)/vendor/pulp-platform/axi/src/*.sv)) \
2424
$(sort $(wildcard $(SRC_HOME)/vendor/pulp-platform/common_cells/src/*.sv)) \
2525
$(SRC_HOME)/vendor/pulp-platform/tech_cells_generic/src/rtl/tc_sram.sv \
26-
$(PLATFORM_DIR)/verilog/fakeram7_256x32.sv
26+
$(PLATFORM_DIR)/verilog/fakeram7_256x256.sv
2727

2828
export VERILOG_INCLUDE_DIRS = $(DESIGN_HOME)/src/$(DESIGN_NICKNAME)/core/include \
2929
$(DESIGN_HOME)/src/$(DESIGN_NICKNAME)/core/cvfpu/src/common_cells/include \
3030
$(DESIGN_HOME)/src/$(DESIGN_NICKNAME)/core/cache_subsystem/hpdcache/rtl/include
3131

3232
export VERILOG_DEFINES += -D HPDCACHE_ASSERT_OFF
3333

34-
export ADDITIONAL_LEFS = $(PLATFORM_DIR)/lef/fakeram7_256x32.lef
34+
export ADDITIONAL_LEFS = $(PLATFORM_DIR)/lef/fakeram7_256x256.lef
3535

36-
export ADDITIONAL_LIBS = $(PLATFORM_DIR)/lib/NLDM/fakeram7_256x32.lib
36+
export ADDITIONAL_LIBS = $(PLATFORM_DIR)/lib/NLDM/fakeram7_256x256.lib
3737

3838
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NAME)/constraint.sdc
3939

40-
export DIE_AREA = 0 0 250 250
41-
export CORE_AREA = 1.08 1.08 240 240
42-
40+
export DIE_AREA = 0 0 350 350
41+
export CORE_AREA = 1.08 1.08 340 340
4342
export PLACE_DENSITY = 0.50
4443

4544
# a smoketest for this option, there are a

flow/designs/src/cva6/common/local/util/sram_cache.sv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module sram_cache #(
5252
rdata_o = rdata_user[DATA_AND_USER_WIDTH-1:DATA_WIDTH];
5353
ruser_o = rdata_user[USER_WIDTH-1:0];
5454
end
55-
fakeram7_256x32 i_tc_sram_wrapper(
55+
fakeram7_256x256 i_tc_sram_wrapper(
5656
.clk ( clk_i ),
5757
.ce_in ( req_i ),
5858
.we_in ( we_i ),
@@ -91,7 +91,7 @@ module sram_cache #(
9191
rdata_o = rdata_user;
9292
ruser_o = '0;
9393
end
94-
fakeram7_256x32 i_tc_sram_wrapper(
94+
fakeram7_256x256 i_tc_sram_wrapper(
9595
.clk ( clk_i ),
9696
.ce_in ( req_i ),
9797
.we_in ( we_i ),

flow/designs/src/cva6/core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_sram.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module hpdcache_sram
3939
output logic [DATA_SIZE-1:0] rdata
4040
);
4141

42-
fakeram7_256x32 ram_i (
42+
fakeram7_256x256 ram_i (
4343
.clk(clk),
4444
.ce_in(cs),
4545
.we_in(we),

flow/designs/src/cva6/core/cache_subsystem/hpdcache/rtl/src/common/hpdcache_sram_wbyteenable.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module hpdcache_sram_wbyteenable
3939
input logic [DATA_SIZE/8-1:0] wbyteenable,
4040
output logic [DATA_SIZE-1:0] rdata
4141
);
42-
fakeram7_256x32 ram_i (
42+
fakeram7_256x256 ram_i (
4343
.clk (clk),
4444
.ce_in(cs),
4545
.we_in(we),

0 commit comments

Comments
 (0)