please dont rip this site

Digital Logic Tutorial

Binary Adder for 5 digits

This adder is made from 5 of the little adders in the last page. It can add a pair of numbers each between 0 and 31 and produce a result between 0 and 62. The inputs are the two boxes on the left. The number in the upper box is added to the number in the lower box and the result is displayed on the far right. Use the up and down arrows to change the numbers. You can only add numbers up to 31, since only 5 wires are hooked up: 11111 binary is 31 decimal.

If you stare at that long enough, you might start to see the paterns of how the logic works. You can go back to the simple full adder to see what is inside each box.

Digital logic math, we only have so many wires. When the total is more than the number of wires available, we call that an "overflow". In the circuit on this page, the overflow is just put into the display, so we can have a total which is more than the maximum input. 31+31=62.

Remember: It's all done with NANDs!

Next

Subtracting is NOT Adding (plus a bit)!

Or skip the math, and watch the 2 bit to 4 line active low decoder puts things in order.

Advanced

It should be easy to see how we could add more adders to build a circuit that would add 6, 7, 8 or more bit numbers together. Most computers today can add 32 bit numbers in a single operation; they have 32 bit adders. A 32 bit number can have a value between 0 and 4,294,967,296 (about 4 billion).

See also:


file: /Techref/logic/add5.htm, 3KB, , updated: 2013/5/8 15:17, local time: 2024/12/26 16:23,
TOP NEW HELP FIND: 
13.58.105.80:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://ecomorder.com/techref/logic/add5.htm"> Digital Logic Tutorial, Binary Adder</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .