Q2 12 Points Build a 2x 4-bit register file with the input D[3:0], S and the output Q[3:0], using any number of 4 bit re
Posted: Fri May 20, 2022 5:04 pm
Q2 12 Points Build a 2x 4-bit register file with the input D[3:0], S and the output Q[3:0], using any number of 4 bit registers below. (Note 1: when EN is 1, the register updates the value. When EN is O, the register holds the value. Note 2: when S is O the upper register is selected, and when S is 1, the lower register becomes active.) D[3:0) D[3:0) Q[3:0) 4-bit Register EN B Q[3:0) S A D[3:0) Q[30] 4-bit Register EN Select ALL possible logic circuits for A and B that can form a 2x 4-bit register file.
Q2.1 6 Points For A: a 1-to-2 Demux with the 'O' output connected to the top register, and the 'l' output connected to the bottom one; The S input connects to the demux' selector bit, and the demux input is '1'. an inverter for the top register and a direct connection for the lower one. a 1-to-2 Decoder with the 'O' output connected to the top register, and the 'l' output connected to the bottom one. Save Answer Q2.2 6 Points For B: a 4x 2-to-1 encoders for each output bit. a 2-to-1 mux, with the S input connected to the mux' selector bit. an OR gate Save Answer
Q2.1 6 Points For A: a 1-to-2 Demux with the 'O' output connected to the top register, and the 'l' output connected to the bottom one; The S input connects to the demux' selector bit, and the demux input is '1'. an inverter for the top register and a direct connection for the lower one. a 1-to-2 Decoder with the 'O' output connected to the top register, and the 'l' output connected to the bottom one. Save Answer Q2.2 6 Points For B: a 4x 2-to-1 encoders for each output bit. a 2-to-1 mux, with the S input connected to the mux' selector bit. an OR gate Save Answer