(put your name next to what you want to work on)
Please comment your code so we know what everything does.
parse registers into an std::map<std::string, int>create an instruction object for each line in the input file(including labels)put each instruction in a vector of instructionsset up instruction object with useful variables for storing information ina line
create basic structure for pipelineimplement each step of the pipeline (IF, ID, EX, MEM, WB)
Data Hazards (exactly like homework 5)Control Hazards (jumping and branching)inserting nop's in correct places
Used for data hazards to not require a stalleasier than it sounds
match output format with examples on pdf
Replace when you are done with each step
- means unfinished
means finished
Design suggestions: