Skip to content
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

INIT read: Only assign buffer_in_valid_o if datapath req valid #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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: 1 addition & 1 deletion src/backend/idma_init_read.sv
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ module idma_init_read #(
// once valid data is applied, it can be pushed in all the selected (mask_in) buffers
// be sure the response channel is ready
assign in_valid = read_rsp_i.rsp_valid & in_ready & r_dp_ready_i;
assign buffer_in_valid_o = in_valid ? mask_in : '0;
assign buffer_in_valid_o = in_valid ? (r_dp_valid_i ? mask_in : '0 ):'0;

// r_dp_ready_o is triggered by the last element arriving from the read
assign r_dp_ready_o = r_dp_valid_i & r_dp_ready_i & read_rsp_i.rsp_valid & in_ready;
Expand Down
Loading