URL
https://opencores.org/ocsvn/s1_core/s1_core/trunk
[/] [s1_core/] [trunk/] [tools/] [bin/] [run_icarus] - Diff between revs 105 and 109
Show entire file |
Details |
Blame |
View Log
Rev 105 |
Rev 109 |
Line 1... |
Line 1... |
#!/bin/bash
|
#!/bin/bash
|
|
|
if [ -z "$S1_ROOT" ]; then echo "***ERROR***: S1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi
|
test_var S1_ROOT
|
if ! [ -d "$S1_ROOT" ]; then echo "***ERROR***: directory '$S1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi
|
|
|
|
cd $S1_ROOT/run/sim/icarus
|
cd $S1_ROOT/run/sim/icarus
|
ln -f -s $S1_ROOT/tests/boot/rom_harness.hex .
|
ln -f -s $S1_ROOT/tests/boot/rom_harness.hex .
|
ln -f -s $S1_ROOT/tests/ram_harness.hex .
|
ln -f -s $S1_ROOT/tests/ram_harness.hex .
|
|
|
./testbench > sim.log
|
./testbench > sim.log
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.