Chapter 6 Flashcards
In modern computer adder reside in the ______________________ but also in other parts of the processor, where they are used to calculate addresses, table indices, and similar operations.
arithmetic logic unit (ALU)
The ___________ adds two single binary digits A and B. It has two outputs, sum (S) and carry (C). The carry signal represents an overflow into the next digit of a multi-digit addition.
half adder
The simplest half-adder design incorporates an XOR gate for ______ and an AND gate for _______. With the addition of an OR gate to combine their carry outputs, two half adders can be combined to make a __________
Sum, Carry, full adder.
A ____________ adds binary numbers and accounts for values carried in as well as carry out.
full adder
A one-bit full adder adds three one-bit numbers, often written as A, B, and Cin; A and B are the __________, and Cin is a _____________ in from the next less significant stage.
operands, bit carried
A one-bit full adder adds three one-bit numbers, often written as A, B, and Cin; A and B are the __________, and Cin is a _____________ in from the next less significant stage.
operands, bit carried
The full-adder is usually a component in a __________ of adders, which add 8, 16, 32, etc. binary numbers.
cascade
The output carry (C4) is not ready until it propagates through all of the full adders. This is called ____________, delaying the addition process. Each carry bit “ripples” to the next full adder. Note that the first (and only the first) full adder may be replaced by a half adder.
ripple carry
The ripple-carry adder is relatively ______, since each full adder must wait for the carry bit to be calculated from the previous full adder.
slow
ripple carry adder… To reduce the computation time, engineers devised faster ways to add two binary numbers by using ________________
carry-lookahead adders.
A carry-lookahead adder improves speed by reducing the amount of _____ required to determine carry bits.
time
It can be contrasted with the simpler, but usually slower, ripple carry adder for which the carry bit is calculated alongside the sum bit, and each bit must wait until the previous carry has been calculated to begin calculating its own result and carry bits.
#Footnote
Readings
The carry-lookahead adder calculates ___________ carry bits before the sum, which reduces the wait time to calculate the result of the larger value bits.
one or more
Carry-Lookahead adder
They work by creating two signals (P and G) for each bit position, based on whether a carry is propagated through from a less significant bit position (at least one input is a ‘1’), generated in that bit position (both inputs are ‘1’), or killed in that bit position (both inputs are ‘0’).
#footnote readings
In most cases, P is simply the ______ output of a half-adder and G is the ________ output of the same adder. After P and G are generated the carries for every bit position are created. Aa
sum, carry