URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 385 |
Rev 511 |
Line 28... |
Line 28... |
if test -z $1; then
|
if test -z $1; then
|
sim_param=;
|
sim_param=;
|
fi
|
fi
|
|
|
# Last two lines should look like:
|
# Last two lines should look like:
|
echo "MTSPR(0x1234, 0xdeaddead);" >$temp1
|
echo "report(0xdeaddead);" >$temp1
|
echo "syscall exit(0)" >>$temp1
|
echo "exit(0)" >>$temp1
|
|
|
# run the simulator
|
# run the simulator
|
$1 $2 $sim_param 2>$temp4 >$temp2
|
$1 $2 $sim_param 2>$temp4 >$temp2
|
simerr=$?
|
simerr=$?
|
if test $simerr -eq 0; then
|
if test $simerr -eq 0; then
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.