Skip to content

Commit

Permalink
Patch for 32 Bit systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz Scherer committed Nov 18, 2024
1 parent a6b190c commit 975016f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/frontend/inst64/idma_inst64_top.sv
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,10 @@ module idma_inst64_top #(
// manipulate the source register
idma_inst64_snitch_pkg::DMSRC : begin
idma_fe_req_d.burst_req.src_addr[31:0] = acc_req_i.data_arga[31:0];
if (AxiAddrWidth > 32) begin
idma_fe_req_d.burst_req.src_addr[AxiAddrWidth-1:32] =
acc_req_i.data_argb[AxiAddrWidth-1-32:0];
end
acc_req_ready_o = 1'b1;
is_dma_op = 1'b1;
dma_op_name = "DMSRC";
Expand All @@ -386,8 +388,10 @@ module idma_inst64_top #(
// manipulate the destination register
idma_inst64_snitch_pkg::DMDST : begin
idma_fe_req_d.burst_req.dst_addr[31:0] = acc_req_i.data_arga[31:0];
if (AxiAddrWidth > 32) begin
idma_fe_req_d.burst_req.dst_addr[AxiAddrWidth-1:32] =
acc_req_i.data_argb[AxiAddrWidth-1-32:0];
end
acc_req_ready_o = 1'b1;
is_dma_op = 1'b1;
dma_op_name = "DMDST";
Expand Down

0 comments on commit 975016f

Please sign in to comment.