MIPS datapath register file problem

Thread Starter


Joined Jan 21, 2014
I've been asked to solve a problem on MIPS: Suppose there are only 4 registers in the register file of the MIPS datapath (instead of 32 registers) requiring only 2 bits to specify a register number. Show the detailed logic circuit of the register file as to how it reads and writes specified data.
Can anyone help me on how to implement the logic circuit for the register file?