1 2 3 4 5 6 7 8 9 10
#!/bin/sh set -e cmd() { echo "$*" ; $* ; } GHDL=${GHDL:-ghdl} cmd $GHDL -a --work=alib asrc.vhd cmd $GHDL -a tb.vhd cmd $GHDL -e tb