Skip to content

Commit

Permalink
hw: Avoid global include, adapt header
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsc96 committed Nov 14, 2024
1 parent a7ee1a8 commit bc12bad
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions hw/cheshire_idma_wrap.sv
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,12 @@
// Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: SHL-0.51
//
// Author: Thomas Benz <[email protected]>
// Author: Andreas Kuster <[email protected]>
// Author: Paul Scheffler <[email protected]>
// Author: Chaoqun Liang <[email protected]>

// Description: DMA core wrapper for the CVA6 integration

`include "axi/assign.svh"
`include "axi/typedef.svh"
`include "idma/typedef.svh"
`include "register_interface/typedef.svh"
// Thomas Benz <[email protected]>
// Andreas Kuster <[email protected]>
// Paul Scheffler <[email protected]>
// Chaoqun Liang <[email protected]>

/// DMA core wrapper for the integration into Cheshire.
module cheshire_idma_wrap #(
parameter int unsigned AxiAddrWidth = 0,
parameter int unsigned AxiDataWidth = 0,
Expand All @@ -39,6 +33,11 @@ module cheshire_idma_wrap #(
output axi_slv_rsp_t axi_slv_rsp_o
);

`include "axi/assign.svh"
`include "axi/typedef.svh"
`include "idma/typedef.svh"
`include "register_interface/typedef.svh"

localparam int unsigned IdCounterWidth = 32;
localparam int unsigned NumDim = 2;
localparam int unsigned RepWidth = 32;
Expand Down

0 comments on commit bc12bad

Please sign in to comment.