1 2 3 4 5 6 7 8 9
#!/bin/sh topdir=../.. . $topdir/testenv.sh run_yosys -q -p "ghdl top.vhdl -e top; hierarchy -check -top top" clean echo OK