URL
https://opencores.org/ocsvn/ssbcc/ssbcc/trunk
Subversion Repositories ssbcc
[/] [ssbcc/] [trunk/] [lib/] [9x8/] [tb/] [math/] [run] - Rev 4
Compare with Previous | Blame | View Log
#!/bin/bash
# Copyright 2013, Sinclair R.F., Inc.
# Run the test benches for the libraries.
NAME="math";
rm --force ssbcc;
ln -s ../../../../ssbcc;
./ssbcc -q -P monitor_stack --display-opcode uc.9x8 || { echo "FATAL ERROR testing ${NAME}" > /dev/stderr; exit 1; }
iverilog -o tb tb.v uc.v || exit 1;
if [ -n "`./tb | gawk -f tb.awk`" ]; then
echo "${NAME} failed" > /dev/stderr;
exit 1;
fi
echo "Passed: ${NAME}";
#rm --force ssbcc uc.9x8-meta uc.v tb;