3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-02 04:27:53 +00:00

Further improved and extended xsthammer

This commit is contained in:
Clifford Wolf 2013-06-11 19:49:35 +02:00
parent 8ce99fa686
commit 4b311b7b99
7 changed files with 231 additions and 142 deletions

28
tests/xsthammer/Makefile Normal file
View file

@ -0,0 +1,28 @@
include generate.lst
test: $(TARGETS)
check/%.log: rtl/%.v xst/%.v
bash run-check.sh $(notdir $(basename $<))
xst/%.v: rtl/%.v
bash run-xst.sh $(notdir $(basename $<))
generate.lst: generate.cc
clang -Wall -o generate generate.cc -lstdc++
./generate
{ echo -n "TARGETS := "; ls rtl/ | sed 's,\.v$$,.log,; s,^,check/,;' | tr '\n' ' '; } > generate.lst
check_xl_cells:
../../yosys xl_cells_tb.ys
clean:
rm -rf generate generate.lst check_temp xst_temp
mrproper: clean
rm -rf rtl xst check
.PHONY: test check_xl_cells clean mrproper
.PRECIOUS: check/%.log xst/%.v rtl/%.v generate.lst