Skip to content

Commit

Permalink
Simplify request logic
Browse files Browse the repository at this point in the history
  • Loading branch information
alexforencich committed Aug 23, 2018
1 parent fe7396a commit 8427aa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtl/axil_interconnect.v
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ genvar n;
// request generation
generate
for (n = 0; n < S_COUNT; n = n + 1) begin
assign request[2*n] = s_axil_awvalid[n] && (!s_axil_bvalid[n] || s_axil_bready[n]) && (!s_axil_rvalid[n] || s_axil_rready[n]);
assign request[2*n+1] = s_axil_arvalid[n] && (!s_axil_bvalid[n] || s_axil_bready[n]) && (!s_axil_rvalid[n] || s_axil_rready[n]);
assign request[2*n] = s_axil_awvalid[n];
assign request[2*n+1] = s_axil_arvalid[n];
end
endgenerate

Expand Down

0 comments on commit 8427aa1

Please sign in to comment.