May 17, 2012, 04:06:46 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
International Electronics and Technology Forum
>
Digital Electronics
>
Combination Logic Circuits
>
STILL don't understand full-adders? Help?
Pages: [
1
]
« previous
next »
Print
Author
Topic: STILL don't understand full-adders? Help? (Read 226 times)
Drew
Newbie
Posts: 9
STILL don't understand full-adders? Help?
«
on:
July 18, 2011, 10:29:13 PM »
I'm trying to figure out how to create a basic calculator, using only logic gates as the brain. I've tried online resources, and I even bought a textbook(Introduction to Logic Design) on the matter. Neither helped. Here is an example of what I want to know:
A full-adder has 3 inputs: A,B, and Cin(carry from previous adder). And it has 2 outputs: S(sum) and Cout(carry out from the adder, in to the next) Let's say I wanted to add 2+2. In binary, 2 is 10. Two 2-bit numbers would mean I have 4 inputs, and need 2 full-adders connected(Cout of the first connected to Cin of the second) right? So if I input 1 into A, and 0 into B of both of the adders, from what I understand, this should add 2, and 2(10, and 10 in binary) thus resulting in 100(which is 4 in decimal format). Am I understanding it correctly?
Logged
Chris_Feilbach
Newbie
Posts: 6
Re: STILL don't understand full-adders? Help?
«
Reply #1 on:
July 18, 2011, 10:44:37 PM »
Firstly, in unsigned binary, 10 is 2.
You are correct, the COUT of the 0th bit full adder is connected to the CIN of the 1st bit full adder. The CIN of the 0th bit is connected to ground.
Your answer is correct. You two SUM outputs of the two full adders are 0. The COUT of the 1st bit full adder is '1' because you only have two bits to work with for your sum, and the largest unsigned binary number two bits can hold is 3.
A 4-bit unit, called a nibble, is the standard size for computers. Everything is a multiple of 4 bits.
Also recall that
SUM <= A xor B xor CIN
COUT <= AB or BC or AC
My specialty area is computer architecture, which is the design of CPUs and the various systems needed to interface them with other computer components. Let me know if you need any more help.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Electrotechlab Primer
-----------------------------
=> About Electrotechlab
=> Electronics News
=> Consumer Electronics and Gadgets
=> General Technology
=> Computers and Internet
-----------------------------
Analog and Mixed Signal
-----------------------------
=> Electricity and Analog Electronics
=> Signal Conversion and Signal Processing
=> Industrial Electronics
-----------------------------
Digital Electronics
-----------------------------
=> Combination Logic Circuits
=> Microcontrollers
=> PLD SPLD GAL CPLD FPGA
-----------------------------
Specialization
-----------------------------
=> Wire Communications
=> Wireless Communication
=> Hi Fidelity Audio and Video
=> Mechatronics and Robotics
=> Amateur Ham Radio
-----------------------------
Electrical Electronics Repair
-----------------------------
=> Test Equipment and Instrumentation
=> General Electrical and Electronics Repair
=> Personal Computer and Peripherals
-----------------------------
Resources
-----------------------------
=> Computer Programming
=> PCB Design
=> Datasheets Manuals Ebooks and Links
=> Electronic Projects Design and Ideas
-----------------------------
General Forum
-----------------------------
=> Anything Under The Sun
=> Arts Culture and Lifestyle
=> Sports Games and Entertainment
=> General Science
=> Health and Medicine
Loading...