Skip to content

Commit 7cadc3e

Browse files
authored
Merge pull request #3237 from jeffng-or/asap7-cva-mem-size-update
updated asap7 cva6 memory sizes to remove tied off connections
2 parents bbf5e22 + cb73ed6 commit 7cadc3e

File tree

19 files changed

+9104
-18
lines changed

19 files changed

+9104
-18
lines changed

flow/designs/asap7/cva6/config.mk

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,26 @@ 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_256x256.sv
68+
$(PLATFORM_DIR)/verilog/fakeram7_64x256.sv \
69+
$(PLATFORM_DIR)/verilog/fakeram7_128x64.sv \
70+
$(PLATFORM_DIR)/verilog/fakeram7_64x28.sv \
71+
$(PLATFORM_DIR)/verilog/fakeram7_64x25.sv
6972

7073
export VERILOG_INCLUDE_DIRS = $(DESIGN_HOME)/src/$(DESIGN_NICKNAME)/core/include \
7174
$(DESIGN_HOME)/src/$(DESIGN_NICKNAME)/core/cvfpu/src/common_cells/include \
7275
$(DESIGN_HOME)/src/$(DESIGN_NICKNAME)/core/cache_subsystem/hpdcache/rtl/include
7376

7477
export VERILOG_DEFINES += -D HPDCACHE_ASSERT_OFF
7578

76-
export ADDITIONAL_LEFS = $(PLATFORM_DIR)/lef/fakeram7_256x256.lef
79+
export ADDITIONAL_LEFS = $(PLATFORM_DIR)/lef/fakeram7_64x256.lef \
80+
$(PLATFORM_DIR)/lef/fakeram7_128x64.lef \
81+
$(PLATFORM_DIR)/lef/fakeram7_64x28.lef \
82+
$(PLATFORM_DIR)/lef/fakeram7_64x25.lef
7783

78-
export ADDITIONAL_LIBS = $(PLATFORM_DIR)/lib/NLDM/fakeram7_256x256.lib
84+
export ADDITIONAL_LIBS = $(PLATFORM_DIR)/lib/NLDM/fakeram7_64x256.lib \
85+
$(PLATFORM_DIR)/lib/NLDM/fakeram7_128x64.lib \
86+
$(PLATFORM_DIR)/lib/NLDM/fakeram7_64x28.lib \
87+
$(PLATFORM_DIR)/lib/NLDM/fakeram7_64x25.lib
7988

8089
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NAME)/constraint.sdc
8190

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
{
22
"synth__design__instance__area__stdcell": {
3-
"value": 40631.65,
3+
"value": 19930.01,
44
"compare": "<="
55
},
66
"constraints__clocks__count": {
77
"value": 1,
88
"compare": "=="
99
},
1010
"placeopt__design__instance__area": {
11-
"value": 45043,
11+
"value": 23688,
1212
"compare": "<="
1313
},
1414
"placeopt__design__instance__count__stdcell": {
15-
"value": 163049,
15+
"value": 152015,
1616
"compare": "<="
1717
},
1818
"detailedplace__design__violations": {
1919
"value": 0,
2020
"compare": "=="
2121
},
2222
"cts__design__instance__count__setup_buffer": {
23-
"value": 14178,
23+
"value": 13219,
2424
"compare": "<="
2525
},
2626
"cts__design__instance__count__hold_buffer": {
27-
"value": 14178,
27+
"value": 13219,
2828
"compare": "<="
2929
},
3030
"globalroute__antenna_diodes_count": {
3131
"value": 0,
3232
"compare": "<="
3333
},
3434
"detailedroute__route__wirelength": {
35-
"value": 1884562,
35+
"value": 1332082,
3636
"compare": "<="
3737
},
3838
"detailedroute__route__drc_errors": {
@@ -48,23 +48,23 @@
4848
"compare": "<="
4949
},
5050
"finish__timing__setup__ws": {
51-
"value": -216.36,
51+
"value": -147.23,
5252
"compare": ">="
5353
},
5454
"finish__design__instance__area": {
55-
"value": 45315,
55+
"value": 23925,
5656
"compare": "<="
5757
},
5858
"finish__timing__drv__setup_violation_count": {
59-
"value": 7089,
59+
"value": 6609,
6060
"compare": "<="
6161
},
6262
"finish__timing__drv__hold_violation_count": {
63-
"value": 101,
63+
"value": 100,
6464
"compare": "<="
6565
},
6666
"finish__timing__wns_percent_delay": {
67-
"value": -20.3,
67+
"value": -16.08,
6868
"compare": ">="
6969
}
7070
}

flow/designs/src/cva6/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
Extracted from https://github.com/openhwgroup/cva6
2+
3+
Based on commit 3a389af with some changes for the RAMs

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_256x256 i_tc_sram_wrapper(
55+
fakeram7_64x256 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_256x256 i_tc_sram_wrapper(
94+
fakeram7_64x25 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_256x256 ram_i (
42+
fakeram7_64x28 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_256x256 ram_i (
42+
fakeram7_128x64 ram_i (
4343
.clk (clk),
4444
.ce_in(cs),
4545
.we_in(we),

0 commit comments

Comments
 (0)