OpenCores
URL https://opencores.org/ocsvn/ssbcc/ssbcc/trunk

Subversion Repositories ssbcc

[/] [ssbcc/] [trunk/] [lib/] [9x8/] [tb/] [math/] [run] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 sinclairrf
#!/bin/bash
2
# Copyright 2013, Sinclair R.F., Inc.
3
# Run the test benches for the libraries.
4
 
5
NAME="math";
6
 
7
rm --force ssbcc;
8
ln -s ../../../../ssbcc;
9
 
10
./ssbcc -q -P monitor_stack --display-opcode uc.9x8 || { echo "FATAL ERROR testing ${NAME}" > /dev/stderr; exit 1; }
11
iverilog -o tb tb.v uc.v || exit 1;
12
if [ -n "`./tb | gawk -f tb.awk`" ]; then
13
  echo "${NAME} failed" > /dev/stderr;
14
  exit 1;
15
fi
16
echo "Passed:  ${NAME}";
17
 
18
#rm --force ssbcc uc.9x8-meta uc.v tb;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.