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

Subversion Repositories srdydrdy_lib

[/] [srdydrdy_lib/] [trunk/] [examples/] [bridge/] [env/] [run] - Blame information for rev 30

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 8 ghutchis
#!/bin/bash
2
 
3 13 ghutchis
TESTNAME=$1
4
shift
5
 
6 14 ghutchis
which iverilog &> /dev/null
7
if [ "$?" == "0" ]; then
8 16 ghutchis
 rm -f a.out
9 22 ghutchis
 iverilog -f bridge.vf tests/$TESTNAME.v $* | tee compile.log
10 30 ghutchis
 ./a.out | tee run.log
11 11 ghutchis
else
12 14 ghutchis
 vcs -full64 +v2k -R -I -f bridge.vf tests/$TESTNAME.v $*
13 11 ghutchis
fi
14 8 ghutchis
 

powered by: WebSVN 2.1.0

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