Skip to content

Commit 62de5bf

Browse files
rfioraniFrancescoConti
authored andcommitted
Fix timing issues and bump core and fpu_ss
1 parent a1ed750 commit 62de5bf

File tree

5 files changed

+17
-14
lines changed

5 files changed

+17
-14
lines changed

Bender.local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ overrides:
22
fpnew : { git: "https://github.com/pulp-platform/cvfpu.git" , rev: a8e0cba6dd50f357ece73c2c955d96efc3c6c315 }
33
hci : { git: "https://github.com/pulp-platform/hci.git" , rev: 5a48a854573fca5bbabc1cfd4110fa4530a50ed7 }
44
cv32e40p : { git: "https://github.com/pulp-platform/cv32e40p.git" , rev: 1a93f340e9dadb9f7c8c471f27a40932c8b1c62e }
5-
cv32e40x : { git: "https://github.com/pulp-platform/cv32e40x.git" , rev: e51af131252027374d083a745ab6727fb9959daa }
5+
cv32e40x : { git: "https://github.com/pulp-platform/cv32e40x.git" , rev: a90101211048ba1a16cedbe4db963ab6e12569d7 }
66
axi : { git: "https://github.com/pulp-platform/axi.git" , version: 0.39.5 }
77
register_interface : { git: "https://github.com/pulp-platform/register_interface.git", rev: e25b36670ff7aab3402f40efcc2b11ee0f31cf19 }
88
idma : { git: "https://github.com/pulp-platform/iDMA.git" , rev: c12caf59bb482fe44b27361f6924ad346b2d22fe }

Bender.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ package:
2323

2424
dependencies:
2525
redmule : { git: "https://github.com/pulp-platform/redmule.git" , rev: 9a1aa14be0b23f0ade84bab57e7e434397ac9876 } # branch: vi/scale_up
26-
cv32e40x : { git: "https://github.com/pulp-platform/cv32e40x.git" , rev: e51af131252027374d083a745ab6727fb9959daa } # branch: vi/redmule_scaleup
26+
cv32e40x : { git: "https://github.com/pulp-platform/cv32e40x.git" , rev: a90101211048ba1a16cedbe4db963ab6e12569d7 } # branch: vi/redmule_scaleup
2727
idma : { git: "https://github.com/pulp-platform/iDMA.git" , rev: a6b190c7991331432afa9a2899d032bc1b176830 } # branch: vi/redmule_scaleup
2828
hwpe-stream : { git: "https://github.com/pulp-platform/hwpe-stream.git" , version: 1.6 }
2929
hwpe-ctrl : { git: "https://github.com/pulp-platform/hwpe-ctrl.git" , rev: c35d5b0886ab549fb9144c3c14a4682112330e21 } # branch: yt/reqrsp
3030
hci : { git: "https://github.com/pulp-platform/hci.git" , rev: 5a48a854573fca5bbabc1cfd4110fa4530a50ed7 } # branch: vi/redmule_scaleup
3131
cluster_icache : { git: "https://github.com/pulp-platform/cluster_icache.git" , rev: 917ecbf908bdaa22c5713bbcff277d142506bb16 } # branch: michaero/astral
3232
fpnew : { git: "https://github.com/pulp-platform/cvfpu.git" , rev: "pulp-v0.1.3" }
33-
fpu_ss : { git: "https://github.com/pulp-platform/fpu_ss.git" , rev: 6a83b1754196c3d4509ce823118a190917f3b88a } # branch: vi/bender_manifest
33+
fpu_ss : { git: "https://github.com/pulp-platform/fpu_ss.git" , rev: 8e2eff774d9d38a1e17a46bd56a0936dac9522f0 } # branch: vi/bender_manifest
3434
obi : { git: "https://github.com/pulp-platform/obi.git" , version: 0.1.6 }
3535
axi : { git: "https://github.com/pulp-platform/axi.git" , version: 0.39.5 }
3636
register_interface: { git: "https://github.com/pulp-platform/register_interface.git", version: 0.4.4 }

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,4 +343,4 @@ MAGIA_NONFREE_COMMIT ?= main
343343
.PHONY: magia-nonfree-init
344344
magia-nonfree-init:
345345
git clone $(MAGIA_NONFREE_REMOTE) $(MAGIA_NONFREE_DIR)
346-
cd $(MAGIA_NONFREE_DIR) && git checkout $(MAGIA_NONFREE_COMMIT)
346+
cd $(MAGIA_NONFREE_DIR) && git checkout $(MAGIA_NONFREE_COMMIT)

hw/tile/magia_tile.sv

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ module magia_tile
845845
.mgr_port_obi_a_optional_t ( magia_tile_pkg::core_data_obi_a_optional_t ),
846846
.mgr_port_obi_r_optional_t ( magia_tile_pkg::core_data_obi_r_optional_t ),
847847
.LrScEnable ( ),
848-
.RegisterAmo ( )
848+
.RegisterAmo ( magia_tile_pkg::RegisterAmo )
849849
) i_obi_atomics (
850850
.clk_i ( sys_clk ),
851851
.rst_ni ( rst_ni ),
@@ -1272,13 +1272,14 @@ module magia_tile
12721272
/*******************************************************/
12731273

12741274
fpu_ss #(
1275-
.PULP_ZFINX ( magia_tile_pkg::FPU_ZFINX ),
1276-
.INPUT_BUFFER_DEPTH ( magia_tile_pkg::FPU_BUFFER_DEPTH ),
1277-
.OUT_OF_ORDER ( magia_tile_pkg::FPU_OOO ),
1278-
.FORWARDING ( magia_tile_pkg::FPU_FWD ),
1279-
.PulpDivsqrt ( magia_tile_pkg::FPU_DIVSQRT ),
1280-
.FPU_FEATURES ( magia_tile_pkg::FPU_FEATURES ),
1281-
.FPU_IMPLEMENTATION ( magia_tile_pkg::FPU_IMPLEMENTATION )
1275+
.PULP_ZFINX ( magia_tile_pkg::FPU_ZFINX ),
1276+
.INPUT_BUFFER_DEPTH ( magia_tile_pkg::FPU_BUFFER_DEPTH ),
1277+
.INPUT_BUFFER_FALL_THROUGH ( magia_tile_pkg::FPU_BUFFER_FT ),
1278+
.OUT_OF_ORDER ( magia_tile_pkg::FPU_OOO ),
1279+
.FORWARDING ( magia_tile_pkg::FPU_FWD ),
1280+
.PulpDivsqrt ( magia_tile_pkg::FPU_DIVSQRT ),
1281+
.FPU_FEATURES ( magia_tile_pkg::FPU_FEATURES ),
1282+
.FPU_IMPLEMENTATION ( magia_tile_pkg::FPU_IMPLEMENTATION )
12821283
) i_fpu (
12831284
.clk_i ( sys_clk ),
12841285
.rst_ni ( rst_ni ),

hw/tile/magia_tile_pkg.sv

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ package magia_tile_pkg;
286286
// Parameters used by the FPU
287287
parameter bit FPU_ZFINX = 0; // FPU use Zfinx extension instead of the F ISA extention
288288
parameter int unsigned FPU_BUFFER_DEPTH = 8; // FPU FIFO depth that buffers instructions coming from core
289+
parameter bit FPU_BUFFER_FT = 0; // FPU FIFO fall through that buffers instructions coming from core
289290
parameter bit FPU_OOO = 1; // FPU enable out-of-order execution
290291
parameter bit FPU_FWD = 1; // FPU enable forwarding from output to input of FPnew
291292
parameter bit FPU_DIVSQRT = 0; // FPU disable FPnew T-head-based DivSqrt unit (supported only for FP32 unit)
@@ -297,14 +298,14 @@ package magia_tile_pkg;
297298
IntFmtMask: 4'b0010
298299
}; // FPU features: support only for FP32 and INT32
299300
parameter fpnew_pkg::fpu_implementation_t FPU_IMPLEMENTATION = '{
300-
PipeRegs: '{default: 1},
301+
PipeRegs: '{default: 2},
301302
UnitTypes: '{'{default: fpnew_pkg::PARALLEL},
302303
'{default: fpnew_pkg::MERGED},
303304
'{default: fpnew_pkg::PARALLEL},
304305
'{default: fpnew_pkg::MERGED},
305306
'{default: fpnew_pkg::DISABLED}
306307
},
307-
PipeConfig: fpnew_pkg::BEFORE
308+
PipeConfig: fpnew_pkg::DISTRIBUTED
308309
}; // FPU implementation
309310

310311
typedef struct packed {
@@ -393,6 +394,7 @@ package magia_tile_pkg;
393394

394395
localparam obi_pkg::obi_optional_cfg_t obi_amo_optional_cfg = obi_pkg::obi_all_optional_config(AUSER_WIDTH, WUSER_WIDTH, RUSER_WIDTH, MID_WIDTH, ACHK_WIDTH, RCHK_WIDTH);
395396
localparam obi_pkg::obi_cfg_t obi_amo_cfg = obi_pkg::obi_default_cfg(magia_pkg::ADDR_W, magia_pkg::DATA_W, OBI_ID_WIDTH, obi_amo_optional_cfg);
397+
localparam bit RegisterAmo = 1;
396398

397399
`OBI_TYPEDEF_ALL_A_OPTIONAL(core_data_obi_a_optional_t, AUSER_WIDTH, WUSER_WIDTH, MID_WIDTH, ACHK_WIDTH)
398400
`OBI_TYPEDEF_ALL_R_OPTIONAL(core_data_obi_r_optional_t, RUSER_WIDTH, RCHK_WIDTH)

0 commit comments

Comments
 (0)