Adding bytes with 4-bit full adders

  • Thread starter Thread starter Duellist
  • Start date Start date
  • Tags Tags
    bytes
Click For Summary

Discussion Overview

The discussion revolves around the challenge of adding two bytes using 4-bit full adders and displaying the result on 7-segment displays. Participants explore the necessary connections and components, including the use of truth tables and decoders, while addressing the complexities of binary and BCD conversions.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant expresses confusion about how to connect the outputs of two 4-bit full adders to 7-segment displays, suggesting the need for a truth table for the output.
  • Another participant suggests using two 4-bit full adders to create an 8-bit adder and mentions the possibility of using existing chips for 7-segment decoding.
  • There is a discussion about needing three 7-segment displays to represent the output correctly, particularly if the maximum binary input is 11111111.
  • Some participants mention the potential to show hexadecimal notation on the displays and the need for BCD conversion for decimal representation.
  • One participant inquires about the existence of decoders that convert 4-bit binary directly to hexadecimal output, expressing that this would simplify the project.
  • Another participant notes that certain chips can display hexadecimal characters on 7-segment displays, depending on the manufacturer.

Areas of Agreement / Disagreement

Participants generally agree on the need to use two 4-bit full adders and the requirement for decoders, but there is no consensus on the exact method for connecting the outputs to the 7-segment displays or the best approach for handling binary to BCD conversion. Multiple competing views on the use of decoders and display methods remain present.

Contextual Notes

Participants express uncertainty about the specific requirements of their project, including whether to use BCD or hexadecimal representations and how to effectively implement the necessary decoders. There are references to existing chips and the need to consult datasheets for compatibility.

Duellist
Messages
5
Reaction score
0
hi guys...my question is kinda weird..

i want to add 1 byte to another 1 byte and get the result on 7-segments
i have to use the ICs 74283 (4- bit full adder)... and i no how to connect them to add 1byte + 1 byte

but i am still lost on how to get the output on 7segments !

would i have to make a truth table to each input to the three 7segments in parallel
but that would take me for ever..
i am just kinda lost :S
thanks
 
Engineering news on Phys.org
You'll need to use two 4-bit full adders to make an 8-bit full-adder, connecting their carry bits as necessary.

To create a 7-segment decoder, create a truth table and use a Karnaugh map to reduce it into simple gates. Chips already exist which perform this decoding, if you're allowed to use them.

- Warren
 
re

i am already passed through the two 4-full adder IC
and the doctor just left it up to us the whole project...

but chroot this way i think i am going to use three 7 segments...coz if the input is (11111111) on each input the out put would be 254 in binary...

so am i going to make truth table for 254 output??

thanks
hussein
 
Last edited:
Was your project to do BCD (binary to decimal conversion)?
In which case you would need three 7 segments.

With a little creativity you can show standard hex notation on a 7 segment display.
 
my project was to add 2bytes using 4-full bit adder and have the output on 7-segments...

and for the Hex decimal.. i thought of that but i found that i would also need 3 7 segment...
but it doesn't matter
it can go either way
 
Duellist said:
my project was to add 2bytes using 4-full bit adder and have the output on 7-segments...
Ya, that's exactly what our professor said (I'm Duellist's class-mate, and partner in this project :rolleyes: )

I'm just so confused as to what we have to do in this project.. Ok, I know the part where we have to use two 4-bit full adders in order to add the bytes together, but how will we connect the 7-segment displays? Check this picture out:

http://aycu06.webshots.com/image/15565/2000964573213556460_rs.jpg

The question is "where do the outputs go in order to display it on 7-segment display(s)" =D ... Btw chroot (or Warren), we do use the decoders, the 7447's...

Thanks..
 
Last edited:
Well, the 7447 is a BCD-to-seven-segment decoder, so you'll first need to convert your sum from binary to BCD. BCD decoders are very simple, so you should be able to design them from discrete gates pretty easily. Since you're allowed to use the BCD-to-seven-segment decoder, perhaps you're allowed to use existing binary-to-BCD chips, too?

- Warren
 
ya i think we are allowed some kind of the decoders chips...

but wat do u have in mind?

hussein
 
I never knew there were binary-to-BCD decoders, lol... Ok, so now i get it...

Outputs from the two 4-bit full adders >into> binary-to-BCD decoder >into> BCD-to-7 segment decoder...
 
  • #10
hi its me again
let me ask u sth
is there's any kind of decoder that would get 4-bit and would convert them to hex decimal...
it would actually help...
i mean take the binary 1001 and say 9 and when it has 1111 it present F
that would make everything actually helpful

-hussein
 
  • #11
It's possible to display A,b,C,d,E,F on a 7 seg.
I recall some 7447 (or equivalent) chips did just that for the hex A-F bit patterns.
Depended on the manufacture.
You would need to examine datasheets.
 

Similar threads

Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
1
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
27K
  • · Replies 6 ·
Replies
6
Views
7K