Starting from:

$25

CS311 - Assignment 4 - Solved

Computer Architecture Laboratory 
Upgrade the simulator to a pipelined core model.

• Update your simulate function to a loop that looks something like this:

                while ( not end of           simulation )

{ performRW performMA performEX performOF performIF

                                   increment         clock by 1

}

Each stage must operate on the output generated by the previous stage in the previous cycle. If the input latch to the stage has invalid content (e.g., in the very first cycle, MA-RW latch has invalid content), the stage must do nothing.

•    Implement data interlocks and control interlocks.


More products