advent-of-code/2020/day2/vhdl/run.sh

10 lines
286 B
Bash
Raw Normal View History

2020-12-02 11:09:36 +01:00
#!/usr/bin/env sh
set -eu
mkdir -p workdir
ghdl analyze --std=08 --workdir=workdir parser.vhd verifier.vhd top.vhd sim.vhd
ghdl elab-run --std=08 --workdir=workdir sim -gSTEP=1 -gFILENAME="../input.txt"
ghdl elab-run --std=08 --workdir=workdir sim -gSTEP=2 -gFILENAME="../input.txt"