we are going to design and extend our previous 4-bit full adder using the register. Our new adder runs in two modes and stores the result in the register. In the first mode it takes both of the inputs (4-bits) like what we’ve implemented before and stores the result in the register. In the second mode, it takes only one input while taking another one from the current value stored in the register and stores the new result back. For the register, you can use D flip flop (use a toggle switch as clock to control the writing operation), and you are free to use any component we learned in our previous labs. In order to take the last carry (fifth-bit) into your design, create a register for it like other bits, which results in storing 5-bits in the registers correspondingly. Finally connect registers to the light bulbs to show the output results. For example, in mode 1, A=0001, B=1010; after toggling the clock switch (rising edge), your registers and your light bulbs represent “01011”, then continuing from current state, in mode 2, A=0001 you will get “01100” in registers and light bulbs. Complete the following 4 steps and take screenshot of your circuit and the output you’ve got (You have to start from step 1 and finish in step 5 in order, i.e., step 2 starts after step 1 is finished and so on 1: Mode 1, Inputs: A=0001, B=0101 2: Mode 2, Inputs: A=0010 3: Mode 2, Inputs: A=0110 4: Mode 2, Inputs: A=0100 5: Mode 2, Inputs: A=0001
we are going to design and extend our previous 4-bit full adder using the register. Our new
adder runs in two modes and stores the result in the register. In the first mode it takes both of the
inputs (4-bits) like what we’ve implemented before and stores the result in the register. In the second
mode, it takes only one input while taking another one from the current value stored in the register and
stores the new result back. For the register, you can use D flip flop (use a toggle switch as clock to
control the writing operation), and you are free to use any component we learned in our previous labs.
In order to take the last carry (fifth-bit) into your design, create a register for it like other bits, which
results in storing 5-bits in the registers correspondingly. Finally connect registers to the light bulbs to
show the output results.
For example, in mode 1, A=0001, B=1010; after toggling the clock switch (rising edge), your registers and
your light bulbs represent “01011”, then continuing from current state, in mode 2, A=0001 you will get
“01100” in registers and light bulbs.
Complete the following 4 steps and take screenshot of your circuit and the output you’ve got (You have
to start from step 1 and finish in step 5 in order, i.e., step 2 starts after step 1 is finished and so on
1: Mode 1, Inputs: A=0001, B=0101
2: Mode 2, Inputs: A=0010
3: Mode 2, Inputs: A=0110
4: Mode 2, Inputs: A=0100
5: Mode 2, Inputs: A=0001
We have to build 4-bit full adder with a register we have been given some instruction which we have to follow-
1: Mode 1, Inputs: A=0001, B=0101
2: Mode 2, Inputs: A=0010
3: Mode 2, Inputs: A=0110
4: Mode 2, Inputs: A=0100
5: Mode 2, Inputs: A=0001
Trending now
This is a popular solution!
Step by step
Solved in 2 steps