Skip to content

Commit

Permalink
PULP DMA wrapper: INIT channel response is always valid
Browse files Browse the repository at this point in the history
  • Loading branch information
da-gazzi committed Jun 28, 2024
1 parent d6d7d99 commit f14e7e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pulp_idma_wrap.sv
Original file line number Diff line number Diff line change
Expand Up @@ -453,12 +453,12 @@ module pulp_idma_wrap #(

// implement zero memory using init protocol
assign init_read_rsp.rsp_chan.init = '0;
assign init_read_rsp.rsp_valid = init_read_req.req_valid; // might need spill register
assign init_read_rsp.rsp_valid = 1'b1;
assign init_read_rsp.req_ready = 1'b1;

// implement /dev/null
assign init_write_rsp.rsp_chan.init = '0;
assign init_write_rsp.rsp_valid = init_read_req.req_valid; // might need spill register
assign init_write_rsp.rsp_valid = 1'b1;
assign init_write_rsp.req_ready = 1'b1;


Expand Down Expand Up @@ -572,12 +572,12 @@ axi_ar_chan_width, `MY_MAX(init_req_chan_width, obi_a_chan_width)

// implement zero memory using init protocol
assign init_read_rsp.rsp_chan.init = '0;
assign init_read_rsp.rsp_valid = init_read_req.req_valid; // might need spill register
assign init_read_rsp.rsp_valid = 1'b1;
assign init_read_rsp.req_ready = 1'b1;

// implement /dev/null
assign init_write_rsp.rsp_chan.init = '0;
assign init_write_rsp.rsp_valid = init_read_req.req_valid; // might need spill register
assign init_write_rsp.rsp_valid = 1'b1;
assign init_write_rsp.req_ready = 1'b1;
end : gen_cpy_in
end : gen_streams
Expand Down

0 comments on commit f14e7e0

Please sign in to comment.