You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
340 B

.PHONY: sim clean
wishbone_tb: wishbone_pkg.vhd wishbone_vip.vhd wishbone_tb.vhd
ghdl -a --std=08 --work=wishbone wishbone_pkg.vhd wishbone_vip.vhd
ghdl -a --std=08 wishbone_tb.vhd
ghdl -e --std=08 wishbone_tb
sim: wishbone_tb
./wishbone_tb --wave=$<.ghw --psl-report=$<.json
clean:
rm -rf *.o *.cf *.ghw *.json
rm -rf wishbone_tb