Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
cse4302/pa1/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
26 lines (17 sloc)
955 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Programming Assignment 1: Non-pipelined riscy-uconn Simulator | |
A non-pipelined CPU simulator for the MIPS-like riscy-uconn instruction set architecture. The | |
simulator translates machine code created by the riscy-uconn assembler, and executes instructions | |
one at a time. Each instruction goes through a Fetch, Decode, Execute, Memory and Writeback stage of | |
processing. | |
## 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. | |