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