Skip to content

inst64: Update front-end to support streamlined iDMA integration in Snitch #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 18 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ working_dir
bender
morty
todo
.venv
modelsim.ini
20 changes: 10 additions & 10 deletions Bender.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ packages:
dependencies:
- common_cells
axi:
revision: fccffb5953ec8564218ba05e20adbedec845e014
version: 0.39.1
revision: 39f5f2d51c5e524f6fc5cf8b6e901f7dcc5622d7
version: 0.39.6
source:
Git: https://github.com/pulp-platform/axi.git
dependencies:
Expand All @@ -23,30 +23,30 @@ packages:
dependencies:
- common_cells
common_cells:
revision: 13f28aa0021fc22c0d01a12d618fda58d2c93239
version: 1.33.0
revision: c27bce39ebb2e6bae52f60960814a2afca7bd4cb
version: 1.37.0
source:
Git: https://github.com/pulp-platform/common_cells.git
dependencies:
- common_verification
- tech_cells_generic
common_verification:
revision: 9c07fa860593b2caabd9b5681740c25fac04b878
version: 0.2.3
revision: fb1885f48ea46164a10568aeff51884389f67ae3
version: 0.2.5
source:
Git: https://github.com/pulp-platform/common_verification.git
dependencies: []
obi:
revision: 1aa411df145c4ebdd61f8fed4d003c33f7b20636
version: 0.1.2
revision: 5321106817e177d6c16ecc4daa922b96b1bc946b
version: 0.1.5
source:
Git: https://github.com/pulp-platform/obi.git
dependencies:
- common_cells
- common_verification
register_interface:
revision: e25b36670ff7aab3402f40efcc2b11ee0f31cf19
version: 0.4.3
revision: 5daa85d164cf6b54ad061ea1e4c6f3624556e467
version: 0.4.5
source:
Git: https://github.com/pulp-platform/register_interface.git
dependencies:
Expand Down
2 changes: 1 addition & 1 deletion idma.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ IDMA_BASE_IDS := \
IDMA_OCCAMY_IDS := \
r_obi_rw_init_w_axi \
r_axi_rw_init_rw_obi
IDMA_ADD_IDS ?=
IDMA_ADD_IDS ?= rw_axi_rw_init_rw_obi
IDMA_BACKEND_IDS := $(IDMA_BASE_IDS) $(IDMA_OCCAMY_IDS) $(IDMA_ADD_IDS)

# generated frontends
Expand Down
3 changes: 2 additions & 1 deletion src/backend/idma_obi_write.sv
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ module idma_obi_write #(
// Write response
//--------------------------------------
// connect w_dp response payload
assign w_dp_rsp_o = '0;
assign w_dp_rsp_o.resp = '0;
assign w_dp_rsp_o.user = '0;

// w_dp_valid_o is triggered once the write answer is here
assign w_dp_valid_o = write_rsp_i.rvalid;
Expand Down
1 change: 1 addition & 0 deletions src/frontend/inst64/idma_inst64_snitch_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ package idma_inst64_snitch_pkg;
localparam logic [31:0] DMSTAT = 32'b0000101?????00000000?????0101011;
localparam logic [31:0] DMSTR = 32'b0000110??????????000000000101011;
localparam logic [31:0] DMREP = 32'b000011100000?????000000000101011;
localparam logic [31:0] DMINIT = 32'b0001000??????????000?????0101011;

endpackage
Loading
Loading