10 ms·
Could you explain the register file section please? - Don't understand that. Thanks
by bear8642 7y ago
Could you explain the register file section please? - Don't understand that.
Thanks
- Gracana 7y ago> Eight 74172s provide eight 16-bit registers in a three-port register file. This file may simultaneously write one register ("A"), read a second ("B"), and read or write a third ("C"). It really does do all that with just the 74172s. The 74172 is a register file containing 8x 2-bit words, with multiple ports for reading and writing, which are split up into a couple of sections. Section 1 has independent read and write ports. The write port consists of data input DA[1..0], address AA[2..0] and write enable ~WEA. If ~WEA is low, data is written from DA to the register selected by AA on the positive edge of the clock. The read port consists of data output QB[1..0], address AB[2..0], and read enable ~REB. When ~REB is low, the contents of the register selected by AB are output on QB. Section 2 has another set of read and write ports, but this time with a common address. Read port is DC[1..0], write port is QC[1..0], address is AC[2..0], and read and write enables are ~REC and ~WEC. In the PISC, there are eight of these chips with all their control lines tied together, so you get a single 8x16 register file with all of the features described above. > In a single clock cycle, the following occurs: > a) one register is output to the Address bus and the ALU's A input; ...using section 1's read port. > b1) another register may be output to the Data bus and the ALU's B input; or ...using section 2's read port. > b2) data from memory may be input to another register; ...using section's 2 write port. > c) an ALU function is applied to A (and perhaps B) and the result is stored in the first (address) register. ...using section 1's write port.
- bear8642 7y agoThank you - very succinct explanation. Hadn't come across register files before and research confused me.