Professional Documents
Culture Documents
Page 1 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Basic Review
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Theorems
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
More Theorems
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Basic Review
• AND
• OR
• NOT
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Basic Review
AND, where ALL inputs must be “1”
for the output to be “1”
OR, where ANY of the inputs can
be “1” for the output to be “1”
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Combinational Logic
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Combinational Logic
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
NOR Gate
The NOR gate is the combination of the NOT gate with the
OR gate.
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
DeMorgan Symbol Equivalence
Bubble-pushing...
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Likewise for OR
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Alternate Gate symbols
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Definitions:
Literal --- a variable or complemented variable (e.g., X or X')
product term --- single literal or logical product of literals (e.g., X or X'Y)
sum term --- single literal or logical sum of literals (e.g. X' or (X' + Y))
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Definitions:
normal term --- sum term or product term
in which no variable appears more than once
(e.g. X'YZ but not X'YZX or X'YZX'
(X + Y + Z') but not (X + Y + Z' + X))
minterm --- normal product term containing all variables (e.g. XYZ')
maxterm --- normal sum term containing all variables (e.g. (X + Y + Z'))
canonical sum --- sum of minterms from truth table rows producing a 1
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Karnaugh Map
A Karnaugh Map is a grid-like representation of a truth table.
A Karnaugh map has zero and one entries at different positions.
Each position in a grid corresponds to a truth table entry.
A B C D
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Example:
F = X’YZ’ + XZ + Y’Z
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Basic Digital Chips
Digital Electronics devices are usually in a chip format.
The chip is identified with a part number or a model
number.
A standard series starts with numbers 74, 4, or 14.
• 7404 is an inverter
• 7408 is an AND
• 7432 is an OR
• 4011B is a NAND
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Truth table vs. minterms & maxterms
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Basic Digital Chips
Digital Electronics devices are usually in a chip format.
The chip is identified with a part number or a model
number.
A standard series starts with numbers 74, 4, or 14.
• 7404 is an inverter
• 7408 is an AND
• 7432 is an OR
• 4011B is a NAND
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Chips
Basic logic chips often come in
14-pin packages.
Pin 14 Pin 8
Package sizes and styles vary.
Pin 1 is indicated with a dot or
half-circle
Numbers are read counter-
clockwise from pin 1 (viewed
from the top)
Pin 1 Pin 7
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Chips – Specification Sheet
Voltage
Ground
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Chips – Specification Sheet
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Combinational vs. Sequential Logic
Logic Logic
Circuit Circuit
(b) Sequential
Output = f(In) Output = f(In, Previous In)
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Combinational logic
• outputs logical functions of inputs new
outputs appear shortly after changed inputs
(propagation delay)
• no feedback loops
• no clock
Sequential logic
• outputs logical functions of inputs and previous
history of circuit (memory)
• after changed inputs, new outputs appear in
the next clock cycle
• frequent feedback loops
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
What is a state machine?
A state machine is a different way of thinking about
computation
A state machine has some number of states, and
transitions between those states
Transitions occur because of inputs
A ―pure‖ state machine only knows which state it is
in—it has no other memory or knowledge
• This is the kind of state machine you learn about in your
math classes
• When you program a state machine, you don’t have that
restriction
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
State machine I/O
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved
Example
The following machine determines whether the number of As in a
string is even or odd
• Circles represent states; arrows represent transitions
A
Page 2 of 2 Copyright 2010., Kacper Technologies Pvt Ltd. All Rights Reserved