mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-21 02:30:25 +00:00
progress in realmath test bench
This commit is contained in:
parent
d5765b5e14
commit
39eb347c67
2 changed files with 45 additions and 4 deletions
19
tests/realmath/run-test.sh
Executable file
19
tests/realmath/run-test.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
rm -rf temp
|
||||
mkdir -p temp
|
||||
echo "generating tests.."
|
||||
python generate.py
|
||||
|
||||
cd temp
|
||||
echo "running tests.."
|
||||
for ((i = 0; i < 100; i++)); do
|
||||
echo -n "[$i]"
|
||||
idx=$( printf "%05d" $i )
|
||||
../../../yosys -q uut_${idx}.ys
|
||||
iverilog -o uut_${idx}_tb uut_${idx}_tb.v uut_${idx}.v uut_${idx}_syn.v
|
||||
./uut_${idx}_tb > uut_${idx}.log
|
||||
done
|
||||
echo
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue