Assignment On Computer Architecturel
Assignment On Computer Architecturel
A full adder adds binary numbers and accounts for values carried in as well as
out. A one-bit full adder adds three one-bit numbers, often written as A, B, and
Cin (carry input); A and B are the operands, and C in is a bit carried in from the
previous less significant stage.
A
Ci
n
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
0
0
0
1
1
1
1
Su
m
0
1
1
0
0
0
0
1
Cou
t
0
0
0
1
1
1
1
1
S = (ABCin)
Cout = (A.B)+(Cin.(AB))
Karnaugh Maps
The Karnaugh map, also known as the K-map, is a method to simplify boolean
algebra expressions.
In the example above, the four input variables can be combined in 16 different
ways, so the truth table has 16 rows, and the Karnaugh map has 16 positions.
The Karnaugh map is therefore arranged in a 4 4 grid. The row and column
indices (shown across the top, and down the left side of the Karnaugh map) are
ordered in Gray code rather than binary numerical order. Gray code ensures that
only one variable changes between each pair of adjacent cells. Each cell of the
completed Karnaugh map contains a binary digit representing the function's
output for that combination of inputs. After the Karnaugh map has been
constructed, it is used to find one of the simplest possible forms a canonical
form for the information in the truth table. Adjacent 1s in the Karnaugh map
represent opportunities to simplify the expression. The minterms ('minimal
terms') for the final expression are found by encircling groups of 1s in the map.
Minterm groups must be rectangular and must have an area that is a power of
two (i.e., 1, 2, 4, 8). Minterm rectangles should be as large as possible without
containing any 0s. Groups may overlap in order to make each one larger.
Sequential logic uses the feedbacks from the output to inputs while
combinational logic does not require feedbacks.