* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Ripple Adder Circuit
Switched-mode power supply wikipedia , lookup
Crossbar switch wikipedia , lookup
Flexible electronics wikipedia , lookup
Valve RF amplifier wikipedia , lookup
Digital electronics wikipedia , lookup
Power MOSFET wikipedia , lookup
Opto-isolator wikipedia , lookup
Index of electronics articles wikipedia , lookup
Transistor–transistor logic wikipedia , lookup
Rectiverter wikipedia , lookup
Regenerative circuit wikipedia , lookup
Names: Ripple Adder Circuit We have discussed the design and implementation of a Ripple Adder Circuit. We will now implement a 2-bit Ripple Adder Circuit on the breadboards using logic gates. In order to make it easy to see what is going on, please use the following convention. Red – Power Black – Ground Green – Logic Signals Remember to save the long green wires for the second adder circuit so that the inputs from the Dip Switch can be reached by the second adder circuit. Each adder that you will be constructing will be require 3 gates: AND, OR, XOR. The circuit will look like the following: You will need to cascade two adders to put together the full 2-bit adder circuit. Remember that from a system level what you will be implementing is as follows: A2 B2 Cin2 A1 B1 Cin1 Full Adder CO2 Sum2 Full Adder CO1 Sum1 Remember that each of these blocks is composed of the circuit given above. 1) We will use the following inputs to our circuit. Switch 1 – A1 Switch 2 – A2 Switch 7 – B1 Switch 8 – B2 2) We need as much space of the bread board as we can get. Move your blue resistor pack as far to the edge as you can get. Remember to move the power input also. You may need to shift the Dip Switch also. 3) Place the XOR gate first as close to the Dip Switch. 4) Construct the Sum circuit using XOR gates 1 and 2. 5) Connect an LED to the 2nd XOR gate, long end to pin 6 and short end to Ground. This LED is the output of the Sum circuit. 6) Carry In for the first adder should be connected to ground. 7) Place the AND gate as close to the XOR gate as possible. 8) Construct the Carry circuit using AND gates 1, 2, and 3 from the top. Connect A1 and B1 to AND gate 1. Connect A1 and Carry In to AND gate 1. Connect B1 and Carry In to AND gate 3. 9) Place the OR gate as close to the AND gate as possible. We will use OR gates 1 and 2. 10) Connect the output of AND 1 to pin 1 of the 1st OR gate. Connect the output of AND 2 to pin 2 of the 1st OR gate. Connect the output of OR gate 1 (pin 3) to pin 4 of the 2nd OR gate. Connect the output of AND 3 to pin 5 of the 2nd OR gate. Connect an LED, long end to pin 6 of the 2nd OR gate and short end to Ground. This LED is the output of the carry circuit. This is the Carry Out. Wait for Instructor to check your circuit. Do not power it until it has been checked. 11) Skip 7 columns of the bread board. This is to allow space between the two adder circuits so it is easier to see what is going on. 12) Construct the second adder circuit as described above. However, this time, instead of using Ground as the input to the Carry In, use the Carry Out of the first adder circuit. Wait for Instructor to check your circuit. Do not power it until it has been checked.