NAME=mux4
ghdl -a $NAME.vhdl
if [ $? != 0 ]; then
	exit
fi
ghdl -e $NAME
ghdl -e "$NAME"_tb
ghdl -r "$NAME"_tb --vcd=out.vcd
gtkwave out.vcd
