]> git.the-white-hart.net Git - vhdl/commitdiff
Add scripts to single-step cpu from host
authorrs <>
Thu, 3 Jul 2025 04:59:16 +0000 (23:59 -0500)
committerrs <>
Thu, 3 Jul 2025 04:59:16 +0000 (23:59 -0500)
projects/nexys2_host_controller/host/step.sh [new file with mode: 0755]
projects/nexys2_host_controller/host/test2.sh [new file with mode: 0755]

diff --git a/projects/nexys2_host_controller/host/step.sh b/projects/nexys2_host_controller/host/step.sh
new file mode 100755 (executable)
index 0000000..38f59c9
--- /dev/null
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+
+./epp_write 0x10 1
+./epp_write 0x10 0
diff --git a/projects/nexys2_host_controller/host/test2.sh b/projects/nexys2_host_controller/host/test2.sh
new file mode 100755 (executable)
index 0000000..f652e1d
--- /dev/null
@@ -0,0 +1,29 @@
+#!/usr/bin/env bash
+
+./epp_write 0x10 0
+echo "IP"
+./epp_read 0x10
+./epp_read 0x11
+./epp_read 0x12
+./epp_read 0x13
+echo "INS"
+./epp_read 0x14
+
+./epp_write 0x10 2
+echo "T"
+./epp_read 0x10
+./epp_read 0x11
+./epp_read 0x12
+./epp_read 0x13
+echo "N"
+./epp_read 0x14
+./epp_read 0x15
+./epp_read 0x16
+./epp_read 0x17
+
+./epp_write 0x10 4
+echo "R"
+./epp_read 0x10
+./epp_read 0x11
+./epp_read 0x12
+./epp_read 0x13