DLD Chapter5
DLD Chapter5
2
DESIGN PROCEDURE
The design of combinational circuits starts from the specification of the design objectives and
is converted to a set of Boolean functions from which the logic diagram can be obtained.
3
Basic Combinational Logic
Circuits
• AND-OR logic circuit
• Directly implements an SOP expression.
• AND-OR-Inverter logic circuit
• This kind of implementation leads to POS expression.
• Exclusive-OR logic circuit
• A combination of two AND gates, one OR gate and two inverters.
• Exclusive-NOR logic circuit
• Implemented by simply inverting the output of an exclusive-OR
4
AND-OR LOGIC
• Figure shows an AND-OR circuit consisting of
two 2-input AND gates and one 2-input OR gate.
AND-OR-INVERT LOGIC
• When the output of an AND-OR circuit is complemented (inverted), it results in an
ANDOR-Invert circuit.
• Product-of-sum(POS) expressions can be implemented with AND-OR-Invert logic. This is
illustrated as follows, by developing the corresponding AND-OR-Invert (AOI) expression.
EXCLUSIVE-OR LOGIC
• Although, because of the importance of exclusive-OR gate, this circuit is
considered a type of logic gate with its own unique symbol, it is actually a
combination of two AND gates, one OR gate, and two inverters, as shown in
Figure.
Adders
• Adders are important in computers and also in other types of digital systems in which numerical data are
processed, as you have seen. An understanding of the basic adder operation is fundamental to the study of
digital systems. In this section, the half-adder and the full-adder are introduced.
• Single full-adder is capable of adding two 1-bit numbers and an input carry.
• To add binary numbers with more than one bit, you must use additional full-adders.
• To add two binary numbers, a full-adder is required for each bit in the numbers. So for 2-
bit numbers, two adders are needed; for 4-bit numbers, four adders are used; and so on.
Block Diagram Of A 2-bit Parallel Adder Using Two Full-adders.
Example
Determine the sum generated by the 3-bit parallel adder in Figure and show
the intermediate carries when the binary numbers 101 and 011 are being
added.
Four-bit Parallel adders
• A group of four bits is called a nibble.
• A basic 4-bit parallel adder is implemented with four full-adder
stages as shown in Figure.
Example
Use the 4-bit parallel adder find the sum and output carry for the
addition of the following two 4-bit numbers if the input carry (Cn-1)
is 0:
A0 = 0
A1 = 1
1
A2 = 0
A3 = 1
CONT’D