Recall the standard configuration of an RxS register file –Rnumber of binary numbers, each S-bit wide -- discussed inclass. Study Figures A.8.7, A.8.8, and A.8.9 of your text.Designa 4x4 register file using only a decoder, and simple gatesthatfulfill the functions of such a register file depicted in Q5.
Design a 16x4 register file using the standard 4x4configuration as depicted in Q5.
Read register number 1 Read register number 2 Write register Write data Register file Write Read data 1 Read data 2 FIGURE A.8.7 A register file with two read ports and one write port has five inputs and two outputs. The control input Write is shown in color.
Read register number 1 Read register number 2 Register 0 Register 1 Register n-2 Register n - 1 MJX М u MJX М u Read data 1 Read data 2 FIGURE A.8.8 The implementation of two read ports for a register file with n registers can be done with a pair of n-to-1 multiplexors, each 64 bits wide. The register read number signal is used as the multiplexor selector signal. Figure A.8.9 shows how the write port is implemented.
Write Register number Register data n-to-2⁰ decoder 0 1 n-2 n-1 C D C D C D C D Register 0 Register 1 Register n-2 Register n-1 FIGURE A.8.9 The write port for a register file is implemented with a decoder that is used with the write signal to generate the C input to the registers. All three inputs (the register number, the data, and the write signal) will have setup and hold-time constraints that ensure that the correct data are written into the register file.
Recall the standard configuration of an RxS register file – R number of binary numbers, each S-bit wide -- discussed in
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am