adfd328dbfe8d460ce71e1287b2e19cd80ef2d78
[soc-cocotb-sim.git] / ls180 / Makefile
1 .PHONY: all corona prepare cocotb
2
3 all: prepare cocotb
4
5
6 # gets the nsxlib and niolib files, and munges the contents of vst_src
7 prepare:
8 ./vbe2vst.py
9 ./vst_correct.py
10
11 # runs cocotb test
12 cocotb:
13 (cd cocotb && ./run_ghdl.sh)
14
15 # builds just for fun (double-check) ghdl works
16 corona:
17 ./vhd2obj.py
18 (cd obj && ghdl -e -g --std=08 corona)
19 (cd obj && ghdl -r -g --std=08 corona)
20