1 / 121

Ch 8. Sequential logic design practices

1. Documentation standards ▶ general requirements : signal name , logic symbol , schematic logic - state machine layout : a collection of F/F & combination logic on same - flip-flops : type , function , clocking behavior

lucita
Télécharger la présentation

Ch 8. Sequential logic design practices

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 1. Documentation standards ▶ general requirements : signal name , logic symbol , schematic logic • - state machine layout : a collection of F/F & combination logic on same • - flip-flops : type , function , clocking behavior - state machine description : state table/diagram, transition list text files in H/W description language (VHDL) - Cascaded elements. - timing diagrams - timing spec : max.clockfreq , set-up & hold time min. pulse width Ch 8. Sequential logic design practices

  2. 8.1.4 Timing Diagrams and Specification setup time margin = tclk – tffpd(max) – tcomb(max) – tsetup hold time margin = tffpd(min) + tcomb(min) + thold

  3. 8.1.4 Timing Diagrams and Specification < Table 8 –1> Propagation delay in ns of selected CMOS flip-flops, registers , and latches

  4. 8.1.4 Timing Diagrams and Specification

  5. 8.1.4 Timing Diagrams and Specification

  6. 2. Latch & flip flops • 8.2.1 SSI Latches and flip flops

  7. 8.2.2 Switch debouncing

  8. 8.2.3 The Simplest Switch debounder

  9. 8.2.3 The Simplest Switch debounder

  10. 8.2.4 Bus Holder Circuit If pull-up resistor is too high, slow transition If pull-up resistor is too low, too much current Low & high -> floating Low <-> high Source or sink a small amount of additional current through R

  11. 8.2.5 Multiple Registers and Latches

  12. 8.2.5 Multiple Registers and Latches

  13. 8.2.5 Multiple Registers and Latches

  14. 8.2.5 Multiple Registers and Latches

  15. 8.2.5 Multiple Registers and Latches

  16. 8.2.5 Multiple Registers and Latches If EN_L = 1, Q <- Q If EN_L = 0, Q <- P

  17. 8.2.6 Registers and Latches in ABEL and PLDs Data1 in Rom is read Data2 in a different device is read

  18. 8.2.6 Registers and Latches in ABEL and PLDs

  19. 8.2.6 Registers and Latches in ABEL and PLDs

  20. 8.2.7 Registers and Latches in VHDL

  21. 8.2.7 Registers and Latches in VHDL < Figure 7-12 D latch >

  22. 8.2.7 Registers and Latches in VHDL - Inferred latch - The code doesn’t say what to do if C ≠ 1, - The compiler infers a latch to retain the value of Q

  23. 8.2.7 Registers and Latches in VHDL

  24. 8.2.7 Registers and Latches in VHDL < Fig 8-3 >

  25. 8.2.7 Registers and Latches in VHDL

  26. 3. Sequential PLD • 8.3.1 Sequential GAL Devices

  27. 8.3.1 Sequential GAL Devices

  28. 8.3.1 Sequential GAL Devices • No architecture control bits • More product terms 8-16 terms • Two more inputs

  29. 8.3.1 Sequential GAL Devices

  30. 8.3.1 Sequential GAL Devices

  31. 8.3.2 PLD Timing Specification ㆍA series PLD (ex : PAL26L8A ) : tPD = 25n , tCO =15n, tSU = 25 nsec ㆍSuffix : -5 , -7 , A, B,…

  32. 8.3.2 PLD Timing Specification ㆍtPD : propagation delay from input to output ㆍtCO : P-delay from rising edge of clock to output ㆍtSU (set-up), tcf( = tCO ), tH( hold) fmax : reliable max.freq ㆍ external PLD : PLD output -> connect to input of another PLD ㆍ internal PLD : same PLD

  33. 4. Counters state diagram = single cycles

  34. 8.4.1 Ripple Counters Ripple counter ㆍconnect in series or cascaded f/f ㆍCarry : ripples from LSB to MSB one bit at a time ㆍslow : n * tPTQ ( propagation delay of T f/f) CLK : applied to LSB F/F only

  35. 8.4.2 Synchronous Counters

  36. 8.4.2 Synchronous Counters

  37. 8.4.3 MSI Counters and Applications - MSI counter : Modulus N counter/divider i) Sync : ㆍ binary 4 bit counter ( 161,163 ) 161 : Async. clear function 163 : Sync. clear ( fully sync. counter ) ㆍ decade counter : 160, 162 ex) modulo-10 counter wavefarm < Fig 31> ㆍ 4 bit up/down counter : SN74169(TTL), 74C169(CMOS), CD40169(CMOS) up/down decade counter : 192 ii ) Async : ㆍ 4 bit binary counter : 193 ㆍ 12 counter : 92 ㆍ decade counter : 90 ㆍ 4 bit up/down counter : 191 ㆍ decade up/down counter : 190

  38. 8.4.3 MSI Counters and Applications

  39. 8.4.3 MSI Counters and Applications

  40. 8.4.3 MSI Counters and Applications RCO = 1 when OA = OB = OC = OD = 1 & ENT = 1

  41. 8.4.3 MSI Counters and Applications

  42. 8.4.3 MSI Counters and Applications

  43. 8.4.3 MSI Counters and Applications

  44. 8.4.3 MSI Counters and Applications

  45. 8.4.3 MSI Counters and Applications

  46. 8.4.3 MSI Counters and Applications

  47. 8.4.3 MSI Counters and Applications

  48. 8.4.6 Counters in VHDL

  49. 8.4.6 Counters in VHDL

  50. 8.4.6 Counters in VHDL

More Related