start on Makefile, add notes, add alliance-check-toolkit submodule
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 31 Mar 2021 17:07:53 +0000 (18:07 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 31 Mar 2021 17:07:53 +0000 (18:07 +0100)
.gitmodules [new file with mode: 0644]
alliance-check-toolkit [new submodule]
ls180/Makefile [new file with mode: 0644]
ls180/README.txt

diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..663524b
--- /dev/null
@@ -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 (submodule)
index 0000000..12d109f
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 12d109f0c84e9f5b87c892cf652e805a8a60be40
diff --git a/ls180/Makefile b/ls180/Makefile
new file mode 100644 (file)
index 0000000..ad612e7
--- /dev/null
@@ -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)
+
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..93d7e8091d66bcde7c8b5a482ebaefb0a4212743 100644 (file)
@@ -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