add uncore debug path
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 27 Jul 2018 09:17:16 +0000 (10:17 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 27 Jul 2018 09:17:16 +0000 (10:17 +0100)
src/bsv/Makefile.template
src/bsv/bsv_lib/soc_template.bsv

index fcd671a83f978f5eef5ac3cec8e312249c824b26..bd81d522df636e789a67f01cd337cb0c76ff478f 100644 (file)
@@ -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
index 66cab5e32b2a3364ebde3941b85ae808fee287cf..a3c90a7db22cbea85e21bf6a19c4feac54c871bc 100644 (file)
@@ -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 =======*/