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

Subversion Repositories ssbcc

[/] [ssbcc/] [trunk/] [lib/] [9x8/] [tb/] [cmp_8bit_uu/] [run] - Blame information for rev 11

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 sinclairrf
#!/bin/bash
2
# Copyright 2013, Sinclair R.F., Inc.
3
# Run the test benches for the libraries.
4
 
5
NAME="cmp_8bit_uu";
6
 
7
rm --force ssbcc;
8
ln -s ../../../../ssbcc;
9
 
10
./ssbcc -q 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 | cmp - "tb.good" 2>&1`" ]; 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.