mirror of
https://github.com/ParkerTenBroeck/hdl_sim.git
synced 2026-06-06 21:24:06 -04:00
added webUI
This commit is contained in:
parent
a266096f32
commit
0201990df8
16 changed files with 2590 additions and 341 deletions
20
run.sh
20
run.sh
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue