aboutsummaryrefslogtreecommitdiff
path: root/tests/soc_simple_display
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-08 17:27:48 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-08 17:27:48 +0200
commitcbc2686373a5fe81b6b28f845edc323d4cae56e5 (patch)
treef53d38cbb32f441450f8d33ff315566f1e98ce5f /tests/soc_simple_display
parent0a49a2c1496888f0014cf09feb425d9cc47a75ba (diff)
downloadAGH-engineering-thesis-cbc2686373a5fe81b6b28f845edc323d4cae56e5.tar.gz
AGH-engineering-thesis-cbc2686373a5fe81b6b28f845edc323d4cae56e5.zip
modernize the build (test) system
Diffstat (limited to 'tests/soc_simple_display')
-rw-r--r--tests/soc_simple_display/Makefile9
-rw-r--r--[-rwxr-xr-x]tests/soc_simple_display/instructions.s.tcl4
2 files changed, 9 insertions, 4 deletions
diff --git a/tests/soc_simple_display/Makefile b/tests/soc_simple_display/Makefile
new file mode 100644
index 0000000..4506ff7
--- /dev/null
+++ b/tests/soc_simple_display/Makefile
@@ -0,0 +1,9 @@
+VGA_TEST = 1
+
+DEPENDS = instructions.mem sram.v vga_display.v ../../design/*.v messages.vh
+
+IVFLAGS = -DROM_WORDS_COUNT=$(call FILE_LINES,instructions.mem)
+
+TOP = soc_test
+
+include ../../Makefile.test
diff --git a/tests/soc_simple_display/instructions.s.tcl b/tests/soc_simple_display/instructions.s.tcl
index 616c1bc..97e577e 100755..100644
--- a/tests/soc_simple_display/instructions.s.tcl
+++ b/tests/soc_simple_display/instructions.s.tcl
@@ -1,7 +1,3 @@
-#!/usr/bin/env tclsh
-
-source tclasm.tcl
-
## also look at stack_machine_cond_jump test
## we're going to write numbers from 0 to 639 at addresses h100000 to h1009FC