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

Subversion Repositories m1_core

[/] [m1_core/] [trunk/] [tools/] [bin/] [run_icarus] - Rev 54

Compare with Previous | Blame | View Log

#!/bin/bash

if [ -z "$M1_ROOT" ]; then echo "***ERROR***: M1_ROOT variable is undefined, please set it and run 'source sourceme'."; exit 1; fi
if ! [ -d "$M1_ROOT" ]; then echo "***ERROR***: directory '$M1_ROOT' does not exist, please check it and run 'source sourceme' again."; exit 1; fi

cd $M1_ROOT/run/sim/icarus
./testbench > sim.log
echo "Simulation completed!"
echo "To see the output:"
echo "        less $M1_ROOT/run/sim/icarus/sim.log"
echo "Too watch the waveforms:"
echo "        gtkwave $M1_ROOT/run/sim/icarus/trace.vcd"

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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