start on Makefile, add notes, add alliance-check-toolkit submodule
[soc-cocotb-sim.git] / ls180 / Makefile
1 .PHONY: all
2
3 # for running VASY in coriolis2 chroot. setup:
4 # https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=coriolis2-chroot;hb=HEAD
5 VASY ?= schroot -c coriolis -d /tmp /home/lkcl/alliance/install/bin/vasy
6
7 nsxlib_vbe=$(wildcard *.vbe)
8 nsxlib_vst=$(patsubst %.vbe,%.vhd,$(wildcard *.vhd))
9
10 SPOT=$(addsuffix .vbe, $(basename $(wildcard *.vhd)))
11
12 %.vbe : %.vhd
13 $(VASY) -s -I vbe $^ -o $@
14 mv $@.vhd $@
15
16 all : $(nsxlib_vst)
17 echo $(SPOT)
18 echo $(nsxlib_vbe)
19 echo $(nsxlib_vst)
20