-.PHONY: all corona prepare cocotb
+.PHONY: all corona prepare cocotb gitupdate
all: prepare cocotb
+# submodule update
+gitupdate:
+ git submodule update --init --remote
# gets the nsxlib and niolib files, and munges the contents of vst_src
prepare:
-Notes:
+# Dependencies
- alliance:
- ./vasy -s -I vbe sff1_x4.vbe sff1_x4
+* make gitupdate
+* https://git.libre-soc.org/?p=dev-env-setup.git;a=summary
+ - run coriolis2_chroot (to set up coriolis2)
+ - run install-hdl-apt-reqs
+* install ghdl (working: GHDL 1.0-dev (v0.37.0-819-g9828b513) [Dunoon edition])
+ this is very likely to have to be done from source
+* install cocotb (can be done from source https://github.com/cocotb/cocotb)
- ghdl:
+# Build
- 536 ghdl -a hello.vhdl
- 540 ghdl -e hello_world
- 542 ghdl -r hello_world
+* make one experiment with a JTAG tap (experiments10 or experiments9)
+* copy *.vst into vst_src except cts files, chip.vst and chip_r.vst
+* make cocotb