Upload
angelica-farley
View
42
Download
1
Embed Size (px)
DESCRIPTION
5/28/03 Minute Paper. Do we get to use a note card or cheat sheet again? and calculator? Do we have to know electrical safety for the test?. Digital Circuit Review: Combinational Logic. Logic operation Real problem to truth table Karnaugh Map: Box “1” or box “0” Largest supercell possible - PowerPoint PPT Presentation
Citation preview
5/28/03 Minute Paper
• Do we get to use a note card or cheat sheet again? and calculator?
• Do we have to know electrical safety for the test?
Digital Circuit Review: Combinational Logic
• Logic operation• Real problem to truth table• Karnaugh Map:
– Box “1” or box “0”• Largest supercell possible• 2n ones or zeros in each supercell• Edges of Karnaugh map are connected• Finish all ones or zeros• Doesn’t matter (“d” or “x”) can be considered as either “1” or
“0”.
Digital Circuit Review: Sequential Logic• Flip Flips• Timing diagram
1. When CLK signal arrives (rising edge or falling edge), FF will have outputs (Q and Q’) depending on the input (ex. D, or J, K). At this stage, ignore combinational logic if there exist in the circuit.
2. After finishing the output (Q and Q’), then work on the combinational logic, which typically determines the inputs (ex. D, or J, K) which will determine the output (Q and Q’) at next CLK signal
• Sequential circuit design: State Map1. Construct a state map.2. Convert the state map to truth map. Note: have to include all
combination. Ex. If there are three outputs, Q0, Q1, and Q2, then there are 8 states (combinations) that have to be listed. Some of them may be listed as “d”.
3. Prepare the inputs such that the outputs (Q0, Q1, and Q2) at next state will follow the state map.
4. Convert the truth map to Karnaugh map: the inputs of FF (ex, D, or J, K) is the results in Karnuagh map, i.e. the value of the inputs of FF goes into cells. The outputs of FF is the inputs in the Karnaugh map.
Example 1• Ch. 13.20, three votes, two
yes, pass, green light on, otherwise, fail, red light on.
A B C F
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
C 0 1
AB
00 0 0
01 0 1
11 1 1
10 0 1
F=AB+BC+AC
5V
Example 2: timing diagramConstruct the timing diagrams below to ascertain the state diagram for both E=1 and E=0.
Complete the state diagram to show the behavior of this 2-bit counter for E enabled.
Complete the state diagram to show the behavior of this 2-bit counter for E disabled.
00
1001
A B C XNOR
0 0 0 1
0 0 1 0
0 1 1 1
0 1 0 0
1 1 0 1
1 0 0 0
1 0 1 1
1 1 1 0
11
0110
Example 3: Sequential logic design
Q2 Q1 D2 D1
0 1 0 0
0 0 1 0
1 0 0 1
1 1 0 1
Using D-type flip-flops and a single two-input logic gate, design a 2-bit state counter that will execute the sequence in this state diagram: Show the type of gate and the connections to the flip-flops needed for this counter on the schematic below:
Karnaugh Map for D2
Q1 0 1
Q2
0 1 0
1 0 0
D2=Q1’Q2’