From: Luke Kenneth Casson Leighton Date: Wed, 31 Mar 2021 17:07:53 +0000 (+0100) Subject: start on Makefile, add notes, add alliance-check-toolkit submodule X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4eb660674fe7380d7b0c64b104f47c72a05b5cfe;p=soc-cocotb-sim.git start on Makefile, add notes, add alliance-check-toolkit submodule --- diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..663524b --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "alliance-check-toolkit"] + path = alliance-check-toolkit + url = https://gitlab.lip6.fr/vlsi-eda/alliance-check-toolkit.git diff --git a/alliance-check-toolkit b/alliance-check-toolkit new file mode 160000 index 0000000..12d109f --- /dev/null +++ b/alliance-check-toolkit @@ -0,0 +1 @@ +Subproject commit 12d109f0c84e9f5b87c892cf652e805a8a60be40 diff --git a/ls180/Makefile b/ls180/Makefile new file mode 100644 index 0000000..ad612e7 --- /dev/null +++ b/ls180/Makefile @@ -0,0 +1,20 @@ +.PHONY: all + +# for running VASY in coriolis2 chroot. setup: +# https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=coriolis2-chroot;hb=HEAD +VASY ?= schroot -c coriolis -d /tmp /home/lkcl/alliance/install/bin/vasy + +nsxlib_vbe=$(wildcard *.vbe) +nsxlib_vst=$(patsubst %.vbe,%.vhd,$(wildcard *.vhd)) + +SPOT=$(addsuffix .vbe, $(basename $(wildcard *.vhd))) + +%.vbe : %.vhd + $(VASY) -s -I vbe $^ -o $@ + mv $@.vhd $@ + +all : $(nsxlib_vst) + echo $(SPOT) + echo $(nsxlib_vbe) + echo $(nsxlib_vst) + diff --git a/ls180/README.txt b/ls180/README.txt index e69de29..93d7e80 100644 --- a/ls180/README.txt +++ b/ls180/README.txt @@ -0,0 +1,10 @@ +Notes: + + alliance: + ./vasy -s -I vbe sff1_x4.vbe sff1_x4 + + ghdl: + + 536 ghdl -a hello.vhdl + 540 ghdl -e hello_world + 542 ghdl -r hello_world