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

Subversion Repositories ssbcc

[/] [ssbcc/] [trunk/] [core/] [9x8/] [peripherals/] [tb/] [interrupt/] [run] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 sinclairrf
#!/bin/bash
2
#
3
# Copyright 2015, Sinclair R.F., Inc.
4
 
5
NAME=interrupt
6
 
7
../../../../../ssbcc -q -P monitor_stack tb_${NAME}.9x8 || { echo "${NAME} compile failed" > /dev/stderr; exit 1; }
8
for INT_DELAY in 5 6 7 8 9 10 11 13 14 16 19 22 23; do
9
  iverilog -D INT_DELAY=${INT_DELAY} -o tb tb.v tb_${NAME}.v \
10
  || { echo "${NAME} build failed" > /dev/stderr; exit 1; }
11
  ./tb > tb.out;
12
  if ! cmp -s tb.out tb.good-${INT_DELAY}; then
13
    echo "${NAME} failed on INT_DELAY=${INT_DELAY}" > /dev/stderr;
14
    exit 1;
15
  fi
16
done
17
 
18
echo "Passed:  ${NAME}";
19
exit 0;

powered by: WebSVN 2.1.0

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