Thursday, 15 January 2015

logic gates - How to make 2 bit or more half adder circuit



I have no idea about electronics, this semester school gave us a strange and confusing lecture about circuits which we shouldn't take because we are no engineer or something close. Question is we should make an 8-bits fulladder and half adder logic circuit on Logisim. Everything is fine until i am stuck with half adder circuit. I have successfully drawn 8 bit full adder


8 bit full adder


I have solved the puzzle which is connecting first Cout with second Cin. But in half adder there is only Cout. I don't know how to connect them each other.



Answer



If you combine two half adders you get the carry-in functionality. Here's a half adder: -


enter image description here


And here's a full adder: -


enter image description here


Can you see what has happened i.e. two half adders are combined to make a full adder: -




  • Two EXOR gates provide A+B then (A+B)+Cin

  • One AND gates provide the intermediary Cout from the direct inputs of A & B

  • Another AND provides the intermediary Cout from (A+B)+ Cin

  • An OR gate produces the final Cout from the intermediary results.


enter image description here


So, in effect you have made an 8 bit adder using both "building blocks".


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...