Skip to content

Commit

Permalink
Fix dma_core_wrap, idma_reg64_frontend #15
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyae authored and thommythomaso committed Oct 28, 2022
1 parent 3572ece commit 4aa2ef7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/frontends/register_64bit/idma_reg64_frontend.sv
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
// Description: DMA frontend module that includes 64bit config and status reg handling

module idma_reg64_frontend #(
/// address width of the DMA AXI Master port
parameter int unsigned DmaAddrWidth = -1,
/// register_interface request type
parameter type dma_regs_req_t = logic,
/// register_interface response type
Expand Down Expand Up @@ -38,7 +36,7 @@ module idma_reg64_frontend #(
idma_reg64_frontend_reg_pkg::idma_reg64_frontend_hw2reg_t dma_hw2reg;

// transaction id
logic [DmaAddrWidth-1:0] next_id, done_id;
logic [DmaRegisterWidth-1:0] next_id, done_id;
logic issue;

dma_regs_rsp_t dma_ctrl_rsp_tmp;
Expand Down
4 changes: 2 additions & 2 deletions src/systems/cva6_reg/dma_core_wrap.sv
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module dma_core_wrap #(

`REG_BUS_TYPEDEF_ALL(dma_regs, logic[5:0], logic[63:0], logic[7:0])

burst_req_t burst_req;
idma_req_t burst_req;
logic be_valid, be_ready, be_trans_complete;
idma_pkg::idma_busy_t idma_busy;

Expand Down Expand Up @@ -91,7 +91,7 @@ module dma_core_wrap #(
.DmaAddrWidth ( AXI_ADDR_WIDTH ),
.dma_regs_req_t ( dma_regs_req_t ),
.dma_regs_rsp_t ( dma_regs_rsp_t ),
.burst_req_t ( burst_req_t )
.burst_req_t ( idma_req_t )
) i_dma_frontend (
.clk_i,
.rst_ni,
Expand Down

0 comments on commit 4aa2ef7

Please sign in to comment.