From e01816afa802bec750030b50d26c57cbb1ead167 Mon Sep 17 00:00:00 2001
From: dam1n19 <dam1n19@soton.ac.uk>
Date: Mon, 3 Jul 2023 10:20:29 +0100
Subject: [PATCH] Added TCL generation makefile

---
 fpga_imp/makefile     | 28 ++++++++++++++++++++++++++++
 nanosoc/sldma230_tech |  2 +-
 nanosoc/socdebug_tech |  2 +-
 3 files changed, 30 insertions(+), 2 deletions(-)
 create mode 100644 fpga_imp/makefile

diff --git a/fpga_imp/makefile b/fpga_imp/makefile
new file mode 100644
index 0000000..95e22c6
--- /dev/null
+++ b/fpga_imp/makefile
@@ -0,0 +1,28 @@
+#-----------------------------------------------------------------------------
+# HTML Generatoration Makefile 
+# A joint work commissioned on behalf of SoC Labs, under Arm Academic Access license.
+#
+# Contributors
+#
+# David Mapstone (d.a.mapstone@soton.ac.uk)
+#
+# Copyright � 2021-3, SoC Labs (www.soclabs.org)
+#-----------------------------------------------------------------------------
+
+# Top-level module of Hierarchy
+TOP_MODULE      ?= nanosoc_chip
+
+# Filelist to give to v2html
+FILELIST        ?= $(SOCLABS_PROJECT_DIR)/flist/project/top.flist
+
+# Directory to store generated HTML
+OUT_DIR         ?= $(SOCLABS_PROJECT_DIR)/imp/fpga
+
+# Name of generated filelist by python script
+TCL_OUTPUT_FILELIST := $(OUT_DIR)/filelist.tcl
+	
+gen_tcl:
+	@echo building TCL flist
+	@mkdir -p $(OUT_DIR)
+	@(cd $(OUT_DIR); \
+	$(SOCLABS_SOCTOOLS_FLOW_DIR)/bin/filelist_compile.py -at -f $(FILELIST) -o $(TCL_OUTPUT_FILELIST) ;)
diff --git a/nanosoc/sldma230_tech b/nanosoc/sldma230_tech
index c11843b..dad4b9f 160000
--- a/nanosoc/sldma230_tech
+++ b/nanosoc/sldma230_tech
@@ -1 +1 @@
-Subproject commit c11843b9e75ce83b7118ef07cb3e1ecc2fe6c9c0
+Subproject commit dad4b9fa4c4e22062fcebb8b433569643797e98c
diff --git a/nanosoc/socdebug_tech b/nanosoc/socdebug_tech
index 5411b21..b274190 160000
--- a/nanosoc/socdebug_tech
+++ b/nanosoc/socdebug_tech
@@ -1 +1 @@
-Subproject commit 5411b21ecaa14d9b1ce5719aa3e1a24831ea6046
+Subproject commit b27419058c86e958dc345ff4fa0b2662a70bb88d
-- 
GitLab