Class Project
Project 1 Part A
This part of the project focuses of the creation and description of your own ISA that will be used in future labs for CSE141L.
- Downlod project specs:Project 1 Part A
- Updates:
- The most significant bit of each instruction must be reserved for the prediction bit. This means you have only 16 additional bits for your ISA.
- For Lab2 of CSE141L, the fetch unit assumes that the 5 LSB of the instruction are used for the offset in branch instructions. You can either design your ISA to agree with your fetch unit's design or make a slight modification to the fetch unit to agree with your ISA.
Project 1 Part B
The second part of Project 1 focuses on the implementation of an assembler and simulator for your ISA. These two items will be used to verify the correctness of your ISA and assembly.
- Download project specs:Project 1 Part B
- Simulator Source Code + README:Here
- Sample Input for Virtual Machine:vm_input
- Updates
- Two lines have been removed from the ISASimulator.java file. Lines 270 and 271 in loadMem(...) incorrectly set instruction memory on a data memory load. Please remove the two lines that set inst_mem and update curr_addr. Alternatively, you can re-download the updated simulator code. If you are uncertain which lines are being referenced, check the class webboard.