Skip to content

Commit

Permalink
Fix Bitwidth Error (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
IveanEx committed Sep 18, 2024
1 parent aab14ab commit f48c626
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hw/templates/snax_xdma_wrapper.sv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ module ${cfg["name"]}_xdma_wrapper #(
// Re-mapping wires for TCDM IO ports
always_comb begin
for ( int i = 0; i < TCDMNumPorts; i++) begin
// Give tcdm_req.q.addr a default value so that the mismatched bits will not be z
tcdm_req_o[i].q.addr = '0;
tcdm_req_o[i].q.addr = tcdm_req_addr [i];
tcdm_req_o[i].q.write = tcdm_req_write [i];
tcdm_req_o[i].q.amo = reqrsp_pkg::AMONone;
Expand Down

0 comments on commit f48c626

Please sign in to comment.