Commit f210991d authored by Tristan Gingold's avatar Tristan Gingold

Add script to run all the test cases.

parent 7c71c06b
#!/bin/sh
set -e
function check_log()
{
if grep -F '# ** ' sim.log | grep -E -v 'Note|Warning'; then
echo "Simulation failed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
exit 1
fi
}
for i in 1 2 3 4 5 6 7 8 9; do
echo
echo "Scenario $i"
vsim -gg_scenario=$i -c -do "run 5us; quit" top_tb | tee sim.log
check_log
done
echo "OK!"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment