hdl_sim/run.sh
ParkerTenBroeck 0201990df8 added webUI
2026-03-05 11:54:40 -05:00

22 lines
No EOL
338 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
mkdir -p build
pushd conn >/dev/null
cargo build --release
popd >/dev/null
pushd build >/dev/null
LIBSRC="../conn/target/release/libvhdl_ui.a"
LIBDIR="../conn/target/release"
ghdl -a -g --std=08 ../rtl/*.vhdl
ghdl -e --std=08 \
-Wl,$LIBSRC \
tb
ghdl -r --std=08 tb --stop-delta=2147483647