Skip to content

Commit b84ff71

Browse files
committed
[WIP] Introduce redmule v2
1 parent e2a18e1 commit b84ff71

File tree

4 files changed

+33
-10
lines changed

4 files changed

+33
-10
lines changed

Bender.lock

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ packages:
6363
dependencies:
6464
- hci
6565
common_cells:
66-
revision: 0d67563b6b592549542544f1abc0f43e5d4ee8b4
67-
version: 1.35.0
66+
revision: 9afda9abb565971649c2aa0985639c096f351171
67+
version: 1.38.0
6868
source:
6969
Git: https://github.com/pulp-platform/common_cells.git
7070
dependencies:
@@ -85,6 +85,12 @@ packages:
8585
- common_cells
8686
- fpnew
8787
- tech_cells_generic
88+
cv32e40x:
89+
revision: 96b933ac2f723351872da55e7d2e9a82abd5df34
90+
version: null
91+
source:
92+
Git: https://github.com/pulp-platform/cv32e40x.git
93+
dependencies: []
8894
event_unit_flex:
8995
revision: 28e0499374117c7b0ef4c6ad81b60d7526af886f
9096
version: null
@@ -132,15 +138,15 @@ packages:
132138
- scm
133139
- tech_cells_generic
134140
hwpe-ctrl:
135-
revision: a5966201aeeb988d607accdc55da933a53c6a56e
141+
revision: 3690a3c648f120546d8de2bc583d5170c36d2f20
136142
version: null
137143
source:
138144
Git: https://github.com/pulp-platform/hwpe-ctrl.git
139145
dependencies:
140146
- tech_cells_generic
141147
hwpe-stream:
142-
revision: 65c99a4a2f37a79acee800ab0151f67dfb1edef1
143-
version: 1.8.0
148+
revision: b3d33afdd27e79bcda1348d0ab5f4afd52c03106
149+
version: 1.9.0
144150
source:
145151
Git: https://github.com/pulp-platform/hwpe-stream.git
146152
dependencies:
@@ -192,6 +198,14 @@ packages:
192198
- hwpe-stream
193199
- register_interface
194200
- zeroriscy
201+
obi:
202+
revision: 8097928cf1b43712f93d5356f336397879b4ad2c
203+
version: 0.1.6
204+
source:
205+
Git: https://github.com/pulp-platform/obi.git
206+
dependencies:
207+
- common_cells
208+
- common_verification
195209
per2axi:
196210
revision: 95bf23119b47fc171d9ed3734c431f71cffd9350
197211
version: null
@@ -200,18 +214,20 @@ packages:
200214
dependencies:
201215
- axi_slice
202216
redmule:
203-
revision: 9223ccc932e21d0667e9c2d30831db41eec9299e
204-
version: null
217+
revision: 1e59faf9218a68270bf16aed0429a46d18afa753
218+
version: 2.0.1
205219
source:
206220
Git: https://github.com/pulp-platform/redmule.git
207221
dependencies:
208222
- common_cells
209223
- cv32e40p
224+
- cv32e40x
210225
- fpnew
211226
- hci
212227
- hwpe-ctrl
213228
- hwpe-stream
214-
- register_interface
229+
- ibex
230+
- obi
215231
- tech_cells_generic
216232
redundancy_cells:
217233
revision: 49e714b97a19a7aaddf064ae2757c8f02d1f62dc

Bender.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dependencies:
3333
hci: { git: "https://github.com/pulp-platform/hci.git", rev: 38fc2a7 } # branch: lg/ecc_rebase_v2.1.1
3434
register_interface: { git: "https://github.com/pulp-platform/register_interface.git", version: 0.4.4 }
3535
redundancy_cells: { git: "https://github.com/pulp-platform/redundancy_cells.git", rev: 49e714b97a19a7aaddf064ae2757c8f02d1f62dc } # branch: astral-v0
36-
redmule: { git: "https://github.com/pulp-platform/redmule.git", rev: 9223ccc } # branch: astral-hci-v2.1
36+
redmule: { git: "https://github.com/pulp-platform/redmule.git", rev: v2.0.1 }
3737
neureka: { git: "https://github.com/pulp-platform/neureka.git", rev: 94528df } # branch: fc/astral-v1.0-rebased
3838
softex: { git: "https://github.com/belanoa/softex.git" , version: 1.0.0 }
3939

rtl/hwpe_subsystem.sv

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ module hwpe_subsystem
9696
// Generate desired HWPEs
9797
if (HWPE_CFG.HwpeList[i] == REDMULE) begin : gen_redmule
9898

99+
cv32e40x_if_xif core_xif ();
100+
99101
/////////////
100102
// REDMULE //
101103
/////////////
@@ -104,13 +106,18 @@ module hwpe_subsystem
104106
.ID_WIDTH ( ID_WIDTH ),
105107
.N_CORES ( N_CORES ),
106108
.DW ( N_MASTER_PORT*32 ),
109+
.X_EXT ( 0 ),
107110
.`HCI_SIZE_PARAM(tcdm) ( HCI_HWPE_SIZE )
108111
) i_redmule (
109112
.clk_i ( hwpe_clk[i] ),
110113
.rst_ni ( rst_n ),
111114
.test_mode_i ( test_mode ),
112115
.busy_o ( busy[i] ),
113116
.evt_o ( evt[i] ),
117+
.xif_issue_if_i ( core_xif.coproc_issue ),
118+
.xif_result_if_o ( core_xif.coproc_result ),
119+
.xif_compressed_if_i( core_xif.coproc_compressed ),
120+
.xif_mem_if_o ( core_xif.coproc_mem ),
114121
.tcdm ( tcdm[i] ),
115122
.periph ( periph[i] )
116123
);

0 commit comments

Comments
 (0)