yosys/tests/smv/run-test.sh

20 lines
340 B
Bash
Raw Permalink Normal View History

2023-08-11 20:59:39 -05:00
#!/usr/bin/env bash
2015-06-18 09:29:11 -05:00
set -ex
rm -rf temp
mkdir -p temp
../../yosys -p 'test_cell -muxdiv -w temp/test all'
2015-06-19 07:08:46 -05:00
rm -f temp/test_{alu,fa,lcu,lut,macc,shiftx}_*
2015-06-18 09:29:11 -05:00
cat > temp/makefile << "EOT"
all: $(addsuffix .ok,$(basename $(wildcard temp/test_*.il)))
%.ok: %.il
bash run-single.sh $(basename $<)
touch $@
EOT
${MAKE:-make} -f temp/makefile