|CS552 Course Wiki: Spring 2017||Main »
A simple simulator and debugger for the WISC-SP13 ISA is provided. This simulator can read in the output of the assembler and execute it. You can step one instruction at a time to determine how the individual steps in your program affect the state of the machine.
One way to use this program for verification is to compare the state of registers in the writeback stage with the registers printed by this simulator.
You can run this simulator by invoking the following command at a unix prompt:
Type help at its prompt to see what all it can do.
With this usage, the simulator will run the program and print a step by step listing of the instructions executed and what registers they write to etc. A file called
This source is provided under the following conditions.
Download all files from :
And then, use the Makefile to build the simulator.
|Page last modified on January 22, 2013, visited 234 times|