From bc12bad80b9347be6289a2268e8bbe8ba9623eae Mon Sep 17 00:00:00 2001 From: Paul Scheffler Date: Thu, 14 Nov 2024 21:48:24 +0100 Subject: [PATCH] hw: Avoid global include, adapt header --- hw/cheshire_idma_wrap.sv | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/hw/cheshire_idma_wrap.sv b/hw/cheshire_idma_wrap.sv index 245195f7..2d1f6cae 100644 --- a/hw/cheshire_idma_wrap.sv +++ b/hw/cheshire_idma_wrap.sv @@ -2,18 +2,12 @@ // Solderpad Hardware License, Version 0.51, see LICENSE for details. // SPDX-License-Identifier: SHL-0.51 // -// Author: Thomas Benz -// Author: Andreas Kuster -// Author: Paul Scheffler -// Author: Chaoqun Liang - -// 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 +// Andreas Kuster +// Paul Scheffler +// Chaoqun Liang +/// DMA core wrapper for the integration into Cheshire. module cheshire_idma_wrap #( parameter int unsigned AxiAddrWidth = 0, parameter int unsigned AxiDataWidth = 0, @@ -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;