1 .PHONY
: all chip prepare cocotb gitupdate
7 git submodule update
--init
--remote
9 # gets the nsxlib and niolib files, and munges the contents of vst_src
16 (cd cocotb
&& .
/run_ghdl.sh
)
18 # builds just for fun (double-check) ghdl works
21 (cd obj
&& ghdl
-e
-g
--std
=08 chip
)
22 (cd obj
&& ghdl
-r
-g
--std
=08 chip
)
24 # imports all ghdl "stuff" and outputs verilog
26 (cd obj
&& yosys
-m ghdl
-p
'ghdl --std=08 chip' \
27 -p
'proc' -p
'write_verilog chip.v')