Skip to content

Commit 5917742

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

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
@@ -65,23 +65,22 @@ export VERILOG_FILES = $(sort $(wildcard $(SRC_HOME)/common/local/util/
6565
$(SRC_HOME)/core/cvxif_example/include/cvxif_instr_pkg.sv \
6666
$(sort $(wildcard $(SRC_HOME)/core/frontend/*.sv)) \
6767
$(SRC_HOME)/vendor/pulp-platform/tech_cells_generic/src/rtl/tc_sram.sv \
68-
$(PLATFORM_DIR)/verilog/fakeram7_256x32.sv
68+
$(PLATFORM_DIR)/verilog/fakeram7_256x256.sv
6969

7070
export VERILOG_INCLUDE_DIRS = $(DESIGN_HOME)/src/$(DESIGN_NICKNAME)/core/include \
7171
$(DESIGN_HOME)/src/$(DESIGN_NICKNAME)/core/cvfpu/src/common_cells/include \
7272
$(DESIGN_HOME)/src/$(DESIGN_NICKNAME)/core/cache_subsystem/hpdcache/rtl/include
7373

7474
export VERILOG_DEFINES += -D HPDCACHE_ASSERT_OFF
7575

76-
export ADDITIONAL_LEFS = $(PLATFORM_DIR)/lef/fakeram7_256x32.lef
76+
export ADDITIONAL_LEFS = $(PLATFORM_DIR)/lef/fakeram7_256x256.lef
7777

78-
export ADDITIONAL_LIBS = $(PLATFORM_DIR)/lib/NLDM/fakeram7_256x32.lib
78+
export ADDITIONAL_LIBS = $(PLATFORM_DIR)/lib/NLDM/fakeram7_256x256.lib
7979

8080
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NAME)/constraint.sdc
8181

82-
export DIE_AREA = 0 0 250 250
83-
export CORE_AREA = 1.08 1.08 240 240
84-
82+
export DIE_AREA = 0 0 350 350
83+
export CORE_AREA = 1.08 1.08 340 340
8584
export PLACE_DENSITY = 0.50
8685

8786
# 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)