4. The Processor > 4-1. Processor Overview
Processor Overview
Updated at 2022.10.11
I will focus on handling a subset of core MIPS instructions (MIPS subset)
add
, sub
, and
, or
, slt
lw
, sw
beq
, jump
In the MIPS implementation, the datapath elements consist of
Combinational elements work with state elements
When data can be read and written is determined relative to the clock
In this book, we assume "Positive edge-triggered clocking methodology"
Combinational elements works with state elements
In a single clock cycle = between clock edges = between rising edges
State elements (e.g., registers) take two inputs: update data and a clock signal
Based on the clock signal, it is determined when to update the data
In positive edge-triggered clocking methodology,
Update the data at rising edges (when the clock signal changes from 0 to 1)
State elements take three inputs: update data and a clock signal with write control
Based on the clock signal and the write control, it is determined when to update the data
In positive edge-triggered clocking methodology,
Update the data at rising edges + when the write control input is 1