For example, ALU, adder, immediate extender, and multiplexors are all combinational elements. |
A state element has at least two inputs and one output. The required inputs are the data value to be written into the element and the clock, which determines when the data value is written. The output from a state element provides the value that was written in an earlier clock cycle. Instruction memory, data memory, PC register, and register file are all state elements. |