Move idcode.vhdl to test/ghdl/idcode
[c4m-jtag.git] / test / ghdl / idcode / bench_idcode.sh
1 #!/bin/sh
2 vhdldir=`realpath ../../../c4m/vhdl/jtag`
3 opts=--std=08
4 ghdl -a $opts $vhdldir/c4m_jtag_pkg.vhdl
5 ghdl -a $opts $vhdldir/c4m_jtag_tap_fsm.vhdl
6 ghdl -a $opts $vhdldir/c4m_jtag_irblock.vhdl
7 ghdl -a $opts $vhdldir/c4m_jtag_idblock.vhdl
8 ghdl -a $opts $vhdldir/c4m_jtag_iocell.vhdl
9 ghdl -a $opts $vhdldir/c4m_jtag_ioblock.vhdl
10 ghdl -a $opts $vhdldir/c4m_jtag_tap_controller.vhdl
11 ghdl -a $opts ./idcode.vhdl
12 ghdl -r $opts bench_idcode --wave=bench_idcode.ghw