Programming Assignment 4: Pipelined riscy-uconn Simulator With Scoreboard Algorithm
A pipelined CPU simulator for the MIPS-like riscy-uconn instruction set architecture implementing a scoreboard algorithm. The simulator translates machine code created by the riscy-uconn assembler, and executes instructions one at a time.
Build Instructions
$ make
Usage
$ ./simulator assembled_program_file.out
where assembled_program_file.out
may be any assembled program file generated by the riscy-uconn
assembler.
Unit Tests
Several unit tests are provided in the unittests
directory. These unit tests must be assembled
before use with the simulator by executing the following command:
$ ../assembler/assembler unittests/unit_test_file.asm unittests/unit_test_file.out
where unit_test_file
is any of the unit test files (written in riscy-uconn assembly) in the
unittests
directory.