From: rs <> Date: Thu, 3 Jul 2025 04:59:16 +0000 (-0500) Subject: Add scripts to single-step cpu from host X-Git-Url: https://git.the-white-hart.net/?a=commitdiff_plain;h=2dffe8b6ff67521fdcefd36010ff89518a81c194;p=vhdl Add scripts to single-step cpu from host --- diff --git a/projects/nexys2_host_controller/host/step.sh b/projects/nexys2_host_controller/host/step.sh new file mode 100755 index 0000000..38f59c9 --- /dev/null +++ b/projects/nexys2_host_controller/host/step.sh @@ -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 index 0000000..f652e1d --- /dev/null +++ b/projects/nexys2_host_controller/host/test2.sh @@ -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