Datapath: Register files
Collections of registers
- Two-dimensional array of flip-flops
- An address indexes a particular word
- Can have separate read and write addresses
- Can read and write simultaneously
Example: 4 by 4 register file
- 16 D flip-flops
- Four words of four bits each
- Write-enable (load)
- Read-enable (output enable)