From 5a0f5c8b88fc323c52701c75f7665bf948d7b16a Mon Sep 17 00:00:00 2001
From: dwf1m12 <d.w.flynn@soton.ac.uk>
Date: Wed, 4 Oct 2023 20:40:12 +0100
Subject: [PATCH] use DMA230 controller for now

---
 flist/nanosoc.flist | 6 +++---
 makefile            | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/flist/nanosoc.flist b/flist/nanosoc.flist
index f8b56c9..c03f413 100644
--- a/flist/nanosoc.flist
+++ b/flist/nanosoc.flist
@@ -30,6 +30,6 @@
 // Debug IP
 -f $(SOCLABS_SOCDEBUG_TECH_DIR)/flist/socdebug.flist
 
-// DMAC IP
--f $(SOCLABS_SLDMA350_TECH_DIR)/flist/sldma350_ahb.flist
--f $(SOCLABS_SLDMA230_TECH_DIR)/flist/sldma230_ip.flist
+// DMAC IP (better included at top level configuration)
+//-f $(SOCLABS_SLDMA350_TECH_DIR)/flist/sldma350_ahb.flist
+//-f $(SOCLABS_SLDMA230_TECH_DIR)/flist/sldma230_ip.flist
diff --git a/makefile b/makefile
index c7d38e0..24d2647 100644
--- a/makefile
+++ b/makefile
@@ -84,7 +84,7 @@ else
 		ARM_CORSTONE_101_DIR ?= $(ARM_IP_LIBRARY_PATH)/latest/Corstone-101/logical
 		ARM_CORTEX_M0_DIR    ?= $(ARM_IP_LIBRARY_PATH)/latest/Cortex-M0/logical
 		TB_TOP               ?= nanosoc_tb
-		NANOSOC_DEFINES      += DMAC_DMA350
+		NANOSOC_DEFINES      += DMAC_0_PL230
 	endif
 endif
 
@@ -127,4 +127,4 @@ gen_defs:
 	
 # Remove RTL compile files, log files, software compile files
 clean : clean_all_code
-	@rm -rf $(SIM_TOP_DIR)
\ No newline at end of file
+	@rm -rf $(SIM_TOP_DIR)
-- 
GitLab