From eb5fca549bb85cf4244caa88d221328bb21db947 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 1 Apr 2021 18:36:20 +0100 Subject: [PATCH] update README --- ls180/Makefile | 5 ++++- ls180/README.txt | 19 ++++++++++++------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/ls180/Makefile b/ls180/Makefile index adfd328..c0a63c8 100644 --- a/ls180/Makefile +++ b/ls180/Makefile @@ -1,7 +1,10 @@ -.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: diff --git a/ls180/README.txt b/ls180/README.txt index 93d7e80..c928c5a 100644 --- a/ls180/README.txt +++ b/ls180/README.txt @@ -1,10 +1,15 @@ -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 -- 2.30.2