URL
https://opencores.org/ocsvn/s1_core/s1_core/trunk
Subversion Repositories s1_core
[/] [s1_core/] [trunk/] [tools/] [bin/] [s1_sim_run] - Rev 113
Compare with Previous | Blame | View Log
#!/bin/bashset -eif ( (test $# != 1) || ((test $1 != "icarus") && (test $1 != "vcs")) ) thenecho "Usage: $0 {icarus|vcs}"exit 1fitest_var S1_ROOTecho -e "Running simulation using $1"cd $S1_ROOT/run/sim/$1ln -f -s $S1_ROOT/tests/boot/rom_harness.hex .ln -f -s $S1_ROOT/tests/boot/rom_harness.dis .ln -f -s $S1_ROOT/tests/ram_harness.hex .ln -f -s $S1_ROOT/tests/ram_harness.dis ../testbench 2>&1 | tee sim.log#if(test $1 == "icarus") then#fi#if(test $1 == "vcs") then#fiecho -e "Simulation with $1 completed!"echo -e "To see the output:"echo -e "less $S1_ROOT/run/sim/$1/sim.log"echo -e "gtkwave $S1_ROOT/run/sim/$1/trace.vcd"
