mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 01:54:10 +00:00
20 lines
325 B
Bash
Executable file
20 lines
325 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
rm -rf temp
|
|
mkdir -p temp
|
|
|
|
../../yosys -p 'test_cell -muxdiv -w temp/test all'
|
|
rm -f temp/test_{alu,fa,lcu,lut,macc}_*
|
|
|
|
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
|
|
|