Skip to content

Commit

Permalink
Add HCI core FIFOs in the streamer and move input casts to cut critic…
Browse files Browse the repository at this point in the history
…al paths.
  • Loading branch information
Yvan Tortorella committed Jan 11, 2024
1 parent b366403 commit 9030a81
Show file tree
Hide file tree
Showing 6 changed files with 390 additions and 269 deletions.
2 changes: 1 addition & 1 deletion Bender.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ packages:
dependencies:
- common_cells
hci:
revision: 9d9fc44f6181e7d5357a1b31a0600630440b9586
revision: 0c67be238169209e3c89f6dd577496db1cf9cc88
version: null
source:
Git: https://github.com/pulp-platform/hci.git
Expand Down
2 changes: 1 addition & 1 deletion Bender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ dependencies:
cv32e40x : { git: "https://github.com/pulp-platform/cv32e40x.git" , rev: "redmule-v1.0" }
ibex : { git: "https://github.com/pulp-platform/ibex.git" , rev: pulpissimo-v6.1.2 }
hwpe-stream : { git: "https://github.com/pulp-platform/hwpe-stream.git" , version: 1.6 }
hci : { git: "https://github.com/pulp-platform/hci.git" , rev: 9d9fc44f6181e7d5357a1b31a0600630440b9586 }
hwpe-ctrl : { git: "https://github.com/pulp-platform/hwpe-ctrl.git" , rev: b8b393575f40aea4dbd22cc7fc6077aaff2e3ed1 } # branch: yt/reqrsp
hci : { git: "https://github.com/pulp-platform/hci.git" , rev: 0c67be238169209e3c89f6dd577496db1cf9cc88 } # branch: yt/reqrsp
fpnew : { git: "https://github.com/pulp-platform/cvfpu.git" , rev: "pulp-v0.1.3" }
common_cells : { git: "https://github.com/pulp-platform/common_cells.git" , version: 1.21.0 }
tech_cells_generic: { git: "https://github.com/pulp-platform/tech_cells_generic.git", version: 0.2.11 }
Expand Down
2 changes: 1 addition & 1 deletion rtl/redmule_castout.sv
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ generate

assign res [i*MIN_FMT+:MIN_FMT] = result[i][WIDTH-MIN_FMT-1:0];

end // block: generate_cast_units
end

endgenerate

Expand Down
5 changes: 5 additions & 0 deletions rtl/redmule_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ package redmule_pkg;
CSR_REDMULE_MACFG = 12'h805
} redmule_csr_num_e;

parameter int unsigned NumStreamSources = 3; // X, W, Y
parameter int unsigned XsourceStreamId = 0;
parameter int unsigned WsourceStreamId = 1;
parameter int unsigned YsourceStreamId = 2;

typedef enum logic { LD_IN_FMP, LD_WEIGHT } source_sel_e;
typedef enum logic { LOAD, STORE } ld_st_sel_e;

Expand Down
Loading

0 comments on commit 9030a81

Please sign in to comment.