490 likes | 678 Views
Appendix A Logic Circuits. Logic circuits. Operate on binary variables that assume one of two distinct values, usually called 0 and 1 Implement functions of logic variables Circuits have inputs and outputs Circuits are implemented using electronic logic gates. Standard logic gate
E N D
Logic circuits • Operate on binary variables that assume one of two distinct values, usually called 0 and 1 • Implement functions of logic variables • Circuits have inputs and outputs • Circuits are implemented using electronic logic gates
Standard logic gate symbols
Implementation of the XOR function using AND, OR, and NOT gates
Synthesis of logic functions Synthesis is the process of designing and implementing a logic circuit defined by its functional specification. The expression for f in the previous circuit is said to be in a sum-of-products form, because the OR and AND operations are sometimes called the sum and product functions.
Minimization of logic expressions As illustrated in the previous example, a logic function can be implemented with circuits of different complexities. It is useful to minimize a logic expression to reduce the cost of the synthesized circuit.
Four-variable Karnaugh maps
A BCD-to-7-segment display decoder
Functional structure of a PLA
Sequential circuits A logic circuit whose output is determined entirely by its present inputs is called a combinational circuit (e.g. decoders and multiplexers). A logic circuit whose output depends on both the present inputs and the state of the circuit is called a sequential circuit (e.g. counters).
State diagram of a mod-4 up/down counter that detects the count of 2
The next-state expressions are: The output expression is