Download presentation
Presentation is loading. Please wait.
Published byMyrtle Blankenship Modified over 9 years ago
1
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn Midterm Examination Wednesday, 11/21/2012 15:50 ~ 17:50 East Upper Hall ( 东上院 ) 106
2
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn Digital Fundamentals Tenth Edition Floyd Flip-flops © 2008 Pearson Education
3
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn Latches R S Q Q EN Show the Q output with relation to the input signals. Assume Q starts LOW. Keep in mind that S and R are only active when EN is HIGH. S R EN Q
4
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn Latches R S Q Q EN Show the Q output with relation to the input signals. Assume Q starts LOW. Keep in mind that S and R are only active when EN is HIGH. S R EN Q
5
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn Edge-triggering
6
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn The J-K Flip-flop Named after its inventor: Jack Kilby. The feedback lines prevent SET (or RESET) operations when it is already in SET (or RESET) state.
7
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn The J-K Flip-flop Create a T Flip-flop with a J-K Flip-flop. Connect the input and its complement to J and K respectively.
8
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn The J-K Flip-flop Create a D Flip-flop with a J-K Flip-flop. Connect both J to D and K to complemented D.
9
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn The J-K Flip-flop When the pulse (spike) from the Pulse Transition Detector is not short enough, the J-K flip-flop will encounter the same invalid- state problem as basic S-R latches.
10
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn The J-K Flip-flop Another type of J-K flip-flop is called Master-Slave J-K Flip- flop, or pulse-triggered Flip-flop. In the example below, inputs are latched into the master S-R latch at the rising edge of the clock, and propagate into the slave latch at the trailing edge. Symbol of master-slave FF
11
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn The J-K Flip-flop Table on the right shows the operation of the pulse-triggered J-K FF. The timing diagram shows an example of negative pulse triggered J-K FF.
12
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn TE: Test Enable TI: Test Input Flip-flop Applications – the scan Flip-Flop Scan FF is a very useful type of FF in modern IC design.
13
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn Flip-flop Applications – the scan Flip-Flop The scan flip-flips in a chip forms a chain. When TE is enabled, pre-defined test inputs may be injected into the chain through TI input, becoming the initial state of these FF.
14
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn Flip-flop Applications – the scan Flip-Flop TE is disabled after all FFs have been loaded, and then the FFs operate as normal D FFs. The states of the D FFs may be retrieved later through the TO output by asserting TE again.
15
Floyd, Digital Fundamentals, 10 th edShanghai Jiao Tong Universitysunwq@sjtu.edu.cn Homework 1. Determine the Q output in Figure 1. Assume that Q is initially LOW. 2. Show the Q output of flip-flop B in Figure 2 in proper relation to the clock. Assume the flip-flops are initially RESET.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.