URL
https://opencores.org/ocsvn/s1_core/s1_core/trunk
Subversion Repositories s1_core
[/] [s1_core/] [trunk/] [tools/] [bin/] [run_icarus] - Rev 105
Go to most recent revision | Compare with Previous | Blame | View Log
#!/bin/bash
if [ -z "$S1_ROOT" ]; then echo "***ERROR***: S1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi
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
ln -f -s $S1_ROOT/tests/boot/rom_harness.hex .
ln -f -s $S1_ROOT/tests/ram_harness.hex .
./testbench > sim.log
echo "Simulation completed!"
echo "To see the output:"
echo " less $S1_ROOT/run/sim/icarus/sim.log"
echo "Too watch the waveforms:"
echo " gtkwave $S1_ROOT/run/sim/icarus/trace.vcd"
Go to most recent revision | Compare with Previous | Blame | View Log