added webUI

This commit is contained in:
ParkerTenBroeck 2026-03-05 11:54:40 -05:00
parent a266096f32
commit 0201990df8
16 changed files with 2590 additions and 341 deletions

20
run.sh
View file

@ -3,7 +3,6 @@ set -euo pipefail
mkdir -p build
# Build Rust shared library
pushd conn >/dev/null
cargo build --release
popd >/dev/null
@ -14,21 +13,10 @@ LIBSRC="../conn/target/release/libvhdl_ui.a"
LIBDIR="../conn/target/release"
ghdl -a --std=08 ../rtl/*.vhdl
ghdl -a -g --std=08 ../rtl/*.vhdl
ghdl -e --std=08 \
-Wl,"$LIBSRC" \
-Wl,-Wl,-rpath -Wl,-Wl,$LIBDIR \
tb
-Wl,$LIBSRC \
tb
echo "=== Running sim ==="
echo "Connect and stream inputs using:"
echo " nc 127.0.0.1 5555"
echo "Then type lines like:"
echo " sw=1"
echo " key=15"
echo " key=7 (press KEY3 if bit3 becomes 0, etc; active-low)"
echo
ghdl -r --std=08 tb
ghdl -r --std=08 tb --stop-delta=2147483647