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

Subversion Repositories s1_core

[/] [s1_core/] [trunk/] [tools/] [bin/] [run_icarus] - Blame information for rev 105

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 7 fafa1971
#!/bin/bash
2
 
3 86 fafa1971
if [ -z "$S1_ROOT" ]; then echo "***ERROR***: S1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi
4
if ! [ -d "$S1_ROOT" ]; then echo "***ERROR***: directory '$S1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi
5
 
6 7 fafa1971
cd $S1_ROOT/run/sim/icarus
7 103 fafa1971
ln -f -s $S1_ROOT/tests/boot/rom_harness.hex .
8
ln -f -s $S1_ROOT/tests/ram_harness.hex .
9
 
10
./testbench > sim.log
11
echo "Simulation completed!"
12
echo "To see the output:"
13
echo "        less $S1_ROOT/run/sim/icarus/sim.log"
14
echo "Too watch the waveforms:"
15
echo "        gtkwave $S1_ROOT/run/sim/icarus/trace.vcd"
16
 

powered by: WebSVN 2.1.0

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