Skip to content

Instantly share code, notes, and snippets.

@montoyaaguirre
Created March 4, 2015 11:57
Show Gist options
  • Save montoyaaguirre/16754849df5792d749bb to your computer and use it in GitHub Desktop.
Save montoyaaguirre/16754849df5792d749bb to your computer and use it in GitHub Desktop.
#Put this in your project folder
#from the terminal write chmod +x wasprts.sh
#To execute this script, write ./wasprts.sh
#!/bin/bash
echo "Starting..."
echo "Cleaning..."
make clean
echo "Making..."
make
echo "WSIM..."
wsim-iclbsn2 --ui --trace=sched.trc --mode=time --modearg=5s SchedTest.elf
echo "Tracer..."
tracer --in=sched.trc --out=wsim.vcd-NPBASIC --format=vcd
echo "Gtkwave..."
gtkwave wsim.vcd-NPBASIC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment