Key Areas
MIPS
Key Components
Datapath
 
Help
Questions
Things To Do
 
  
 

SHIFT LEFT

The shift left component shifts the instruction, which is input from the left side of the component, to the left by two spaces. This is done by simply adding "00" to the jump offset of the instruction. This is utilized in jump instructions.

 

SMULTIPLEXOR (MUX)

The multiplexor, or MUX, is a selection device that selects among several different inputs. The inputs, notated by "A" and "B", are selected amongst based upon the control line, notated by "Select." The MUX then outputs the specified input.

This component is also referred to as a data control.

 

DATA MEMORY

The primary function of the data memory component is to read and write data to the memory. The address, to which the data is to be written is provided by the portion of the component entitled "address," located in the top left corner. The data to be written is input from the "data" line located in the bottom left corner. The action that is to be performed, either write or read, is specified by one of the control lines, either "memWrite" or "memRead."

 

 

Previous/ Next