Solving Binary Addition with 4-Bit Full Adder and Decoders

  • Thread starter Thread starter zeroground
  • Start date Start date
  • Tags Tags
    Decoder
AI Thread Summary
The discussion revolves around using two 4-bit full adders and decoders to perform binary addition and convert the result to decimal for display on seven-segment displays. The user successfully displayed numbers up to 9 but is struggling with arranging the outputs from the full adders to show numbers beyond that, specifically how to represent values up to 255. It is noted that a BCD-to-7-segment decoder can only convert binary values from 0 to 9, making it impossible to directly display numbers greater than 9 without additional components. A suggestion is made to use three 4-bit BCD decoders to effectively manage the conversion and display of larger numbers. The discussion emphasizes the need for a proper configuration to handle carry-over in binary addition.
zeroground
Messages
10
Reaction score
0
1. if i i have two "4 bit full adders" and two decoders and three seven segments and i wanted to add numbers in binary with the input and convert it to decimal and show it on the seven segments


2. i did everything and i put the "Carry out" from the first adder into the "Carry in" of the second adder But there's a problem facing me the pins "S0,S1,S2,S3" and "S4,S5,S6,S7" from the full adders how can i arrange them to show the number on the right way

this is urgent ...
thnx
 
Physics news on Phys.org
i mean how can i put them in the two BCDs ?
How can i put the tenth alone and the hunder's alone ?
 
zeroground said:
1. if i i have two "4 bit full adders" and two decoders and three seven segments and i wanted to add numbers in binary and converting it to decimal by using bcd decoder and show it on the seven segment


2. i did succeeded to show till number 9 ...But after 9 how it will work ?
i did everything and i put the "Carry out" from the first adder into the "Carry in" of the second adder But there's a problem facing me that the pins "S0,S1,S2,S3" and "S4,S5,S6,S7" from the full adders how can i arrange them in the 2 decoders to show number 255 for example ..

this is urgent ...
thnx

Two "4 bit full adders" can generate a counter from 0-16, how can you generate 0 - 255?
btw, I don't like "urgent" question.:wink:
 
one 4 bit full adder has "S0,S1,S2,S3" which can be 1111 which is 15
two 4 bit full adders has "S0,S1,S2,S3,S4,S5,S6,S7" WHICH can be 11111111 which is 255
 
OK, I understand what's you mean.

I think it's impossible to get '255' from 1111 1111, because a BCD-to-7-segments can only convert the 0000-1001 to 0-9. You can't get any carry if the counter overflow by 10 or 100.

If you have three "4bit-BCD-dec-counter", your problem can be solved.
 
But 11110000 + 00001111 can get 11111111 :)
 
can u tell me what to do ?
 
Hey, Have you ever finish your Task? If not, follow my suggestion I said early, what you need is three "4bit-BCD-dec-counter", Good luck.
 

Similar threads

Replies
6
Views
19K
Replies
7
Views
12K
Replies
7
Views
3K
Replies
2
Views
15K
Replies
1
Views
3K
Back
Top