Transcription of LECTURE 5 Single-Cycle Datapathand Control
{{id}} {{{paragraph}}}
LECTURE 5 Single-Cycle Datapathand ControlPROCESSORSIn LECTURE 1, we reminded ourselves that the Datapathand controlare the two components that come together to be collectively known as the processor. Datapathconsists of the functional units of the processor. Elements that hold data. Program counter, register file, instruction memory, etc. Elements that operate on data. ALU, adders, etc. Buses for transferring data between elements. Control commands the datapathregarding when and how to route and operate on data. MIPSTo showcase the process of creating a Datapathand designing a Control , we will be using a subset of the MIPS instruction set. Our available instructions include: add, sub, and, or, slt lw,sw beq, jDATAPATHTo start, we will look at the datapathelements needed by every instruction.
data argument of the register file (with the RegWritebit set). DATAPATH Here is our datapath for R-format instructions. 8. Add 4 bytes to the PC value to obtain the word-aligned address of the next instruction. I-FORMAT INSTRUCTIONS Now that we have a complete datapathfor R-format instructions, let’s add in support
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}