From: Luke Kenneth Casson Leighton Date: Fri, 27 Jul 2018 09:17:16 +0000 (+0100) Subject: add uncore debug path X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1260bda400ad3cb0e4e6e1031231d578acb1ae00;p=pinmux.git add uncore debug path --- 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 =======*/