Skip to content

Commit

Permalink
Merge branch 'valek-maint-dma_dbg_makefile_pass' into 'devel'
Browse files Browse the repository at this point in the history
feat(Makefile): pass DMA_DEBUG_ENABLE upon make call

See merge request ndk/ndk-fpga!111
  • Loading branch information
jakubcabal committed Nov 26, 2024
2 parents 74636c9 + 782eb4d commit 58791d3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/config/core_conf.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ set HBM_PORTS 0
set VIRTUAL_DEBUG_ENABLE false

# Enables debug probes and counters in the DMA Module (Medusa)
set DMA_DEBUG_ENABLE false
set DMA_DEBUG_ENABLE $env(DMA_DEBUG_ENABLE)
# Enables debug probes and counters in the PCIe Module (PCIe Core arch: USP and P-Tile)
set PCIE_CORE_DEBUG_ENABLE false
# Enables debug probes in the PCIe Module (PCIe Ctrl)
Expand Down
8 changes: 7 additions & 1 deletion core/core.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@
# 0 - Disable DMA
# 3 - DMA Medusa
# 4 - DMA Calypte
DMA_TYPE ?= 3
DMA_TYPE?=3

# Enables debug components of a DMA module
DMA_DEBUG_ENABLE?=false

NETCOPE_ENV += \
DMA_DEBUG_ENABLE=$(DMA_DEBUG_ENABLE)

0 comments on commit 58791d3

Please sign in to comment.