Professional Documents
Culture Documents
ch3 Describing Logic Circuits
ch3 Describing Logic Circuits
ch3 Describing Logic Circuits
Chapter 3
Describing Logic Circuits
Thái Truyển Đại Chấn
Introduction
• Boolean algebra mathematic tool
• Truth tables data organization tools
• Schematic symbols drawing tools
• Timing diagrams graphing tools
• Language universal description tool
Boolean Constants and Variables
• Boolean variable:
• 0 or 1
• Not represent actual number
• Logic level
• Use letter symbols to represent, e.g., A
• 3 basic logic operations: OR, AND, NOT
Truth Tables
x= -(A*B) + A*-B
The number of input combinations will equal 2N for an N-input truth table
OR
OR
• Example
OR
• Example
• Determine the OR gate output for 2 inputs
• Determine the OR gate output for 3 inputs
AND
AND
Control
bubble
NOT
• Application
Summary of OR, AND, and NOT
Summary of OR, AND, and NOT
• Example
• Derive the truth table for this circuit
A
D
B
C
• Example
2 gates from 74LS08 and 1 gate from 74LS32. after eliminating double inversions
The number in () at inputs and outputs are
ICs' pin numbers. N If we put the NOR gate to the NAND gate
NOR we have ( NAND= NOR+ AND) => we have
2 NOR connect to each other
=> NOR+ NOR = AND gate
Alternate Logic-Gate Representations
Standard symbols Alternate symbols
Same physical circuit
Non-converting gates
Converting gates
Alternate Logic-Gate Representations
• Active logic levels
• Active-HIGH: no bubble on
• Active-LOW: bubble on
• Example: NAND gate
• Standard
Alternate 2
Standard
Which Gate Representation to Use
• Output Z will go HIGH whenever either A
= B = 1 or C = D = 1. Alternate 1
read
Which Gate Representation to Use
Which Gate Representation to Use
• Asserted levels