From 1260bda400ad3cb0e4e6e1031231d578acb1ae00 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 27 Jul 2018 10:17:16 +0100 Subject: [PATCH] add uncore debug path --- src/bsv/Makefile.template | 1 + src/bsv/bsv_lib/soc_template.bsv | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/bsv/Makefile.template b/src/bsv/Makefile.template index fcd671a..bd81d52 100644 --- a/src/bsv/Makefile.template +++ b/src/bsv/Makefile.template @@ -11,6 +11,7 @@ BSVINCDIR:= $(BSVINCDIR):../../../src/core/src/lib BSVINCDIR:= $(BSVINCDIR):../../../src/peripherals/src/core BSVINCDIR:= $(BSVINCDIR):../../../src/peripherals/src/uncore/axi4 BSVINCDIR:= $(BSVINCDIR):../../../src/peripherals/src/uncore/axi4lite +BSVINCDIR:= $(BSVINCDIR):../../../src/peripherals/src/uncore/debug BSVINCDIR:= $(BSVINCDIR):../../../src/peripherals/src/lib BSVINCDIR:= $(BSVINCDIR):../../../src/peripherals/src/peripherals/gpio BSVINCDIR:= $(BSVINCDIR):../../../src/peripherals/src/peripherals/rgbttl diff --git a/src/bsv/bsv_lib/soc_template.bsv b/src/bsv/bsv_lib/soc_template.bsv index 66cab5e..a3c90a7 100644 --- a/src/bsv/bsv_lib/soc_template.bsv +++ b/src/bsv/bsv_lib/soc_template.bsv @@ -46,7 +46,9 @@ package Soc; import defined_types::*; import MemoryMap :: *; import slow_peripherals::*; +`ifdef DEBUG `include "defines.bsv" +`endif `include "instance_defines.bsv" {8} /*====== AXI4 slave declarations =======*/ -- 2.30.2