Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 7th May 2008, 09:45 PM   (permalink)
Experienced Member
transgalactic is infamous around these partstransgalactic is infamous around these partstransgalactic is infamous around these parts
Default How To Understand Ex3 Sum Mechanism?

i need to implement a circuit that inputs two 4bit numbers (y3 y2 y1 y0 x3 x2 x1 x0)
and it has an output of (c3 c2 c1 c0 s3 s2 s1 s0) where "c" is the carry
and "s" is the sum

i was given an example in which X=0101 (5) Y=1000 (8) and it outputs
S=1010 (10) and C=0011 (3)
5+8=13

i dont know what is the role of C and S
how do they split the numbers???

i was asked to implement it using two 4 bit adders

here is the answer:
http://s290.photobucket.com/albums/ll279/t...nt=IMG_8831.jpg

i cant understand this circuit
????????
transgalactic is offline   Reply With Quote
Old 8th May 2008, 01:15 AM   (permalink)
Experienced Member
Pommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to behold
Default

Consider each bit individually. For each bit there are 3 inputs (X,Y,Ci) and 2 outputs (S,Co). The carry gets carried to the next significant bit, Carry Out (Co) becomes Carry In (Ci) for the next digit.

You example is wrong. X=0101(5) + Y=1000(8) = S=1101(13) and C=0000

A better example is X=0111(7) + Y=0110(6) = S=1101(13) and C=0110

To get the next digit of the answer you add the X and Y bits and the carry bit from the previous bit addition. Adding 2 bits can result in an answer from 00 to 11(3) - the left bit is the carry the right is the output.

Mike.
Pommie is offline   Reply With Quote
Old 8th May 2008, 11:16 AM   (permalink)
Experienced Member
transgalactic is infamous around these partstransgalactic is infamous around these partstransgalactic is infamous around these parts
Default how can you explain that..

how can you explain that
S binary column is bigger by 6 then DEC number
and when the DEC number goes bigger then 10
then it has "1" and a normal number
the dec number is supposed to equal to the binay
noy to be smaller by 6
???

and in the EX3 column we each number is bigger by 3 then DEC number
and when the DEC number is smaller then 10
we dont have another 4 bits
?????????
transgalactic is offline   Reply With Quote
Old 8th May 2008, 01:01 PM   (permalink)
Experienced Member
Pommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to behold
Default

I don't understand what you are saying, 7+6=13 or 0111+0110=1101.

The carry is just a record of where a carry took place. Think of, 123+389 = 512 and the carries are 011. I.E 3+9 = 12 = 2 + carry, 8+2+C = 11 = 1 + carry, 1+3+C = 5.

Mike.
Pommie is offline   Reply With Quote
Old 8th May 2008, 02:48 PM   (permalink)
Experienced Member
transgalactic is infamous around these partstransgalactic is infamous around these partstransgalactic is infamous around these parts
Default i ment...

i understood you
but its about the sum of two EX3 number
and a output of two numbers one represents the number of "tens"
and the other represents the "ones"

there is a table in the link i was given

http://s290.photobucket.com/albums/l...t=IMG_8831.jpg

S binary column is bigger by 6 then DEC number
and when the DEC number goes bigger then 10
then it has "1" and a normal number
the dec number is supposed to equal to the binay
not to be smaller by 6
???

and in the EX3 column we each number is bigger by 3 then DEC number
and when the DEC number is smaller then 10
we dont have another 4 bits
?????????
transgalactic is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Building a circuit to sum voltage per unit time? omgwtfbyobbq Electronic Projects Design/Ideas/Reviews 5 8th April 2008 11:24 PM
Best motor for grabbing mechanism Klitzie Robotics Chat 3 8th February 2008 02:50 PM
need an idea on making a counter with a restart mechanism dark_conqueror Electronic Projects Design/Ideas/Reviews 0 26th November 2003 04:25 AM
Digital clock setting mechanism patroclus Electronic Projects Design/Ideas/Reviews 6 17th November 2003 12:37 PM



All times are GMT. The time now is 05:20 PM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.