Professional Documents
Culture Documents
EEE 231 - Lecture 8 PDF
EEE 231 - Lecture 8 PDF
EEE 231
Electronics & u-Processors
Lecture 8
Because of the way the carry signals “ripple” through the full-adder
stages, the circuit in Figure is called a ripple-carry adder.
The delay incurred to produce the final sum and carry-out in a ripple-
carry adder depends on the size of the numbers. When 32- or
64-bit numbers are used, this delay may become unacceptably high.
Because the circuit in each full-adder leaves little room for a drastic
reduction in the delay, it may be necessary to seek different
structures for implementation of n-bit adders.
1
10/3/2015
2
10/3/2015
3
10/3/2015
The conclusion from these examples is that the addition of 1’s complement
numbers may or may not be simple. In some cases a correction is needed,
which amounts to an extra addition that must be performed. Consequently,
the time needed to add two 1’s complement numbers may be twice as long
as the time needed to add two unsigned
numbers.
4
10/3/2015
When the numbers are added, the result is always correct. If there is a
carry-out from the sign-bit position, it is simply ignored. Therefore, the
addition process is the same, regardless of the signs of the operands. Hence
the 2’s complement notation is highly suitable for the implementation of
addition operations.
5
10/3/2015
6
10/3/2015
7
10/3/2015
8
10/3/2015
It allows instantiation statements to be included inside for loops and if- else
statements. If a for loop is included in the generate block, the loop index
variable has to be declared of type genvar.
9
10/3/2015
Concatenate operator.
10
10/3/2015
Concatenate operator.
Concatenate operator.
BUET
11
10/3/2015
12
10/3/2015
13