SlideShare une entreprise Scribd logo
1  sur  5
Télécharger pour lire hors ligne
CHAPTER 1 Flip-Flops & Related Devices
       Sequential circuits are circuits which incorporate some aspect of memory in their structure.
       Combinational logic produces an active output that reflects present inputs, as long as they remain
       active. In contrast, sequential circuits produce an active output based on both past and present
       inputs. An output can remain active even though the input(s) associated with the initial response
       are no longer asserted. For this reason a sequential circuit’s output or logic level is typically
       referred to as its state.

       Historically, the first digital devices that were created based on positive feedback and having a
       memory characteristic, were called multivibrators. Positive feedback is an amplified output
       response that reinforces the initial input action whether transient or purposely injected into the
       circuit. Most commonly, it is two cross coupled inverting amplifiers, whether transistor or IC,
       that are used. In a digital logic context the two inverters would likely be NOT gates or alternately
       NAND or NOR gates configured as inverters. The circuit is considered shortly. Based on
       whether the feedback path is capacitively coupled or directly coupled between the two inverters,
       three classes of multivibrators result:

       Bistable Devices

       A pair of directly coupled interconnections results in a device that resides in either of two stable
       states (output conditions) indefinitely, awaiting a trigger input which will flip it to the opposite
       state. Latches and flip-flops fall into this category.

       Monostable Devices

       Direct coupling paired with capacitively coupling produces a device that remains in the stable
       state dictated by the direct coupling. Upon triggering, it goes to a quasi-stable state for a time
       determined by a resistor/capacitor time constant (RC product, in seconds), after which it returns
       to its initial stable state. One-shots and timers fall into this category.

       Astable Devices

       Only capacitive coupling is used to complete the feedback path causing the circuit to oscillate
       back and forth between two quasi-stable states without any external triggering. The time in
       either state is determined by two separate resistor/capacitor time constants. Clock circuits and
       oscillators fall into this category.

1. Latches

A. Introduction

       The term latch is synonymous with the term memory in the simplest one-bit context. Static
       Random Access Memory (SRAM) is based on the latch configuration. When “n” 1-bit memory
       elements are grouped together, this functional unit is called an n-bit register. This type of
       memory is volatile (functional only when bias voltage is applied).

       When a latch is stimulated or triggered by an external signal it will react, taking a particular state
       (output logic level). When a group of latches function as a register, then the entire output word of
       “n” bits will also be referred to as a state. For example, if the output of a four bit register in a
       counter circuit is 1001, then we would say the counter is in state 9.
Flip-Flops and Related Devices           Pg. 17


E. Setup and Hold Times

      Edge triggered flip-flops perform according to specification only when the desired input, i.e. D in
      Figure 1-23, is unchanging during an active clock edge. Otherwise, an undesirable phenomenon
      know as metastability may occur. Setup time (tsu ) is the time the input must be unchanging,
      preceding the clock edge. Hold time (th ) is the time the input must remain unchanging following
      the clock edge. To illustrate, the manufacturer specified tsu and th have been represented by
      crosshatch located at three active clock edges. Clock Î: a low which is to be written, is asserted
      ahead of the clock edge but not maintained long enough to satisfy the hold time. Q therefore
      cannot be guaranteed to be a correct low value after the clock. Clock Ï: there is no problem with
      “hold time” but the low was not present long enough preceding the clock edge to satisfy “setup
      time”. Clock Ð: a desirable situation where both “setup” and “hold” times are easily satisfied.
      In Quartus II the term “slack” is used: (c) has the desired “setup” slack and “hold” slack (both
      +ve), (b) has -ve “setup” slack while (a) has negative “hold” slack, which is unacceptable.




          Figure 1-23 D Flip-Flop Setup and Hold Specifications.
          Flip-flop input levels must be unchanging during an active clock edge (and have +ve slack), otherwise
          the latched value will be unpredictable. Manufacturers guarantee performance based on minimum
          requirements for setup (tsu) and hold (th ) times. (a) Setup is satisfied but the low is not held long
          enough to satisfy the th requirement. (b) The low was not asserted soon enough to satisfy tsu (c)
          The setup and hold requirements are easily met for the high to be reliably latched.


      Modern flip-flops have tSU in the low 10’s of nanoseconds and t h as low as zero or slightly
      negative. For these flip-flops, the t h requirement is always less than tp (typically 15 ns to 40 ns)
      from clock to output Q, which ensures the correct operation of shift register type circuits.




          Figure 1-24 Flip-Flop Timing Considerations.
          For synchronous multi-flip-flop circuits to operate properly it is necessary for the hold time requirement
          to be less than the propagation delay. (a) A 2-bit shift register (b) Q 0 output must be unchanging
          during the active clock edge because it is the D 1 input. As illustrated, the hold time requirement is
          easily satisfied because of propagation delay, and the 0 is correctly latched to Q 0.
Flip-Flops and Related Devices            Pg. 21



   Table 1-4 74VHC123 Truth Table.
               Inputs            Outputs
                                                  Function
         &
         A        B     &&&
                        C LR     Q      &
                                        Q
                  H       H                       pulse out
                                                                                t W = Cx Rx
         X        L       H      L       H          inhibit
         H        X       H      L       H          inhibit
         L                H                       pulse out
         L        H                               pulse out
         X        X       L      L       H           reset



             Figure 1-28 74VHC123 One-Shot .
             The 74VHC123 retriggerable one-shot is a versatile modern version of an old device, having improved
             characteristics. The calculation, tw = Cx Rx, is simplified and a broad range of values of R and C are
             allowed. Schmitt trigger inputs are provided for both active high and low triggering. A low assertion of
             CLR can be used to inhibit the output and when removed it also triggers the one-shot.


       Clock Circuit

       A versatile clock circuit based on a single 74VHC123 is shown in Figure 1-29. It has low and
       high times which are set by separate Rx/Cx pairs. The first one-shot triggers the second after its
       pulse time. The second then triggers the first in the same way, resulting in continuous
       oscillations. For very large C values the device could be damaged when power is removed unless
       a clamping diode is placed across Rx (see manufacturer’s data sheet).




             Figure 1-29 74VHC123 Oscillator.
             The two one-shots in a package allows a very simple but versatile clock circuit to be implemented.
             There is full control over the pulse width and duty cycle by way of the variable resistors. An unused
             input could be configured to inhibit the clock, if desired. f = 1/(t w1 +t w2), t w = Cx Rx. Pin numbers have
             been included.


5. Flip-Flops in Quartus II.

       The maxplus2 Quartus II Library contains the 74xx series flip-flops which can be used as needed.
       However there are also some HDL based flip-flop megafunctions which allow multiple instances
       and a degree of customization, such as the exclusion or inclusion of synchronous or asynchronous
       set/reset inputs. The flip-flops are naturally positive edge triggered but the clock port can be
       inverted to produce negative edge triggering. We will look briefly at a representative example.
Flip-Flops and Related Devices       Pg. 27


Practice Problem Set 1-1           Chapter 1


     1.   Circle the correct true/false answer.

     T    F   A 74HC00 can be configured as a debounce circuit for a single-pole double-throw switch
              with the addition of external pull-up resistors.
     T    F   A monostable device has two quasi-stable states.
     T    F   A clock is an example of an astable multivibrator.
     T    F   The basic latch is based on positive feedback around two inverters.
     T    F   The SRAM cell that is typically used in FPGAs is essentially just a latch.
     T    F   If a simple SR latch has both its S and R inputs asserted, it will operate in hold mode.
     T    F   The SR latch which is based on two 2-input NOR gates will have active low S, R inputs.
     T    F   The gated SR latch uses flow control gates to implement the Enable input.
     T    F   Switch bounce is an oscillation caused by positive feedback.
     T    F   The term “transparent” is descriptive of D latch operation when the latch is simply enabled.
     T    F   The term flip-flop is used to describe latch type circuits that are edge triggered.
     T    F   Edge detection circuitry in the 74HCxx series of flip-flops is based on the principle of a race
              hazzard creating a very brief pulse.
     T    F   A 74HC74 is a negative edge triggered D flip-flop.
     T    F   Toggle flip-flop operation produces a divide by two action with respect to the clock.
     T    F   The defining equation for the JK flip-flop is & Q + K & .
                                                            J       Q
     T    F   Set-up time is the time it takes for the Q output to display a response to the active clock edge.
     T    F   The Hold time requirements of modern flip-flops is extremely small.
     T    F   Other flip-flop types can be derived from the D flip-flop.
     T    F   The data inputs of a LUT in a modern FPGA are hard wired in order to establish the desired
              logic function.
     T    F   It is important that a flip-flop exhibit set-up times that exceed its hold time requirements.


2.   Complete the sketch of Q for the following SR latch.
Flip-Flops and Related Devices          Pg. 31



Practice Problem Set 1-1           Chapter 1        SOLUTION


1.   Circle the correct true/false answer.

     T       A 74HC00 can be configured as a debounce circuit for a single-pole double-throw switch
             with the addition of external pull-up resistors.
         F   A monostable device has two quasi-stable states.
     T       A clock is an example of an astable multivibrator.
     T       The basic latch is based on positive feedback around two inverters.
     T       The SRAM cell that is typically used in FPGAs is essentially just a latch.
         F   If a simple SR latch has both its S and R inputs asserted, it will operate in hold mode.
         F   The SR latch which is based on two 2-input NOR gates will have active low S, R inputs.
     T       The gated SR latch uses flow control gates to implement the Enable input.
         F   Switch bounce is an oscillation caused by positive feedback.
     T       The term “transparent” is descriptive of D latch operation when the latch is simply enabled.
     T       The term flip-flop is used to describe latch type circuits that are edge triggered.
     T       Edge detection circuitry in the 74HCxx series of flip-flops is based on the principle of a race
             hazzard creating a very brief pulse.
         F   A 74HC74 is a negative edge triggered D flip-flop.
     T       Toggle flip-flop operation produces a divide by two action with respect to the clock.
         F   The defining equation for the JK flip-flop is & Q + K & .
                                                           J       Q
         F   Setup time is the time it takes for the Q output to display a response to the active clock edge.
     T       The hold time requirements of modern flip-flops is extremely small.
     T       Other flip-flop types can be derived from the D flip-flop by adding gating.
         F   The data inputs of a LUT in a modern FPGA are hard wired in order to establish the desired
             logic function.
         F   It is important that a flip-flop exhibit setup times that exceed its hold time requirements.


2.   Complete the sketch of Q for the following SR latch.

Contenu connexe

Tendances

The bistable multivibrator hani prasetyo_universitastidar
The bistable multivibrator hani prasetyo_universitastidarThe bistable multivibrator hani prasetyo_universitastidar
The bistable multivibrator hani prasetyo_universitastidarhani_prasetyo
 
bistable multivibrator
bistable multivibratorbistable multivibrator
bistable multivibratorDhaniraj Yadav
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registersDharit Unadkat
 
Unit 4 clocked_flip_flops
Unit 4 clocked_flip_flopsUnit 4 clocked_flip_flops
Unit 4 clocked_flip_flopsUNAD
 
CSA Application of Flip Flop
CSA Application of Flip FlopCSA Application of Flip Flop
CSA Application of Flip FlopLansKaba
 
Bistable multivibrator
Bistable multivibratorBistable multivibrator
Bistable multivibratornikki36i
 
What are Flip Flops and Its types.
What are Flip Flops and Its types.What are Flip Flops and Its types.
What are Flip Flops and Its types.Satya P. Joshi
 
Iaetsd glitch free nand based digitally controlled delay lines using low power
Iaetsd glitch free nand based digitally controlled delay lines using low powerIaetsd glitch free nand based digitally controlled delay lines using low power
Iaetsd glitch free nand based digitally controlled delay lines using low powerIaetsd Iaetsd
 
Hardware combinational
Hardware combinationalHardware combinational
Hardware combinationalDefri Tan
 
TTL Driving CMOS - Digital Electronic Presentation ALA 2018
TTL Driving CMOS - Digital Electronic Presentation ALA 2018TTL Driving CMOS - Digital Electronic Presentation ALA 2018
TTL Driving CMOS - Digital Electronic Presentation ALA 2018Mr. RahüL YøGi
 
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-FlopsFYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-FlopsArti Parab Academics
 

Tendances (20)

74 hc hct14_cnv_2
74 hc hct14_cnv_274 hc hct14_cnv_2
74 hc hct14_cnv_2
 
The bistable multivibrator hani prasetyo_universitastidar
The bistable multivibrator hani prasetyo_universitastidarThe bistable multivibrator hani prasetyo_universitastidar
The bistable multivibrator hani prasetyo_universitastidar
 
Ds flip flop
Ds flip flopDs flip flop
Ds flip flop
 
bistable multivibrator
bistable multivibratorbistable multivibrator
bistable multivibrator
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
 
Unit 4 clocked_flip_flops
Unit 4 clocked_flip_flopsUnit 4 clocked_flip_flops
Unit 4 clocked_flip_flops
 
CSA Application of Flip Flop
CSA Application of Flip FlopCSA Application of Flip Flop
CSA Application of Flip Flop
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Bistable multivibrator
Bistable multivibratorBistable multivibrator
Bistable multivibrator
 
What are Flip Flops and Its types.
What are Flip Flops and Its types.What are Flip Flops and Its types.
What are Flip Flops and Its types.
 
Iaetsd glitch free nand based digitally controlled delay lines using low power
Iaetsd glitch free nand based digitally controlled delay lines using low powerIaetsd glitch free nand based digitally controlled delay lines using low power
Iaetsd glitch free nand based digitally controlled delay lines using low power
 
Group 9 flip flops
Group 9 flip flopsGroup 9 flip flops
Group 9 flip flops
 
74hc373 data sheet
74hc373 data sheet74hc373 data sheet
74hc373 data sheet
 
Lect19 Engin112
Lect19 Engin112Lect19 Engin112
Lect19 Engin112
 
Flip Flops DLD
Flip Flops DLDFlip Flops DLD
Flip Flops DLD
 
Pll Basic Linkedin2
Pll Basic Linkedin2Pll Basic Linkedin2
Pll Basic Linkedin2
 
Hardware combinational
Hardware combinationalHardware combinational
Hardware combinational
 
TTL Driving CMOS - Digital Electronic Presentation ALA 2018
TTL Driving CMOS - Digital Electronic Presentation ALA 2018TTL Driving CMOS - Digital Electronic Presentation ALA 2018
TTL Driving CMOS - Digital Electronic Presentation ALA 2018
 
Flip flops
Flip flopsFlip flops
Flip flops
 
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-FlopsFYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
FYBSC IT Digital Electronics Unit IV Chapter II Sequential Circuits- Flip-Flops
 

Similaire à Promo book2 ch1_feb23_11

Introduction to Sequential DevicesChapter 66.1 M.docx
Introduction to Sequential DevicesChapter 66.1 M.docxIntroduction to Sequential DevicesChapter 66.1 M.docx
Introduction to Sequential DevicesChapter 66.1 M.docxbagotjesusa
 
Lica unit4 ppt
Lica unit4 ppt Lica unit4 ppt
Lica unit4 ppt elakkia8
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicJames Evangelos
 
IMG_20230325_121848 (13 files merged).ppt
IMG_20230325_121848 (13 files merged).pptIMG_20230325_121848 (13 files merged).ppt
IMG_20230325_121848 (13 files merged).pptDineshThallapelly
 
Design and Implementation of Astable Multivibrator using 555 Timer
Design and Implementation of Astable Multivibrator using 555 Timer Design and Implementation of Astable Multivibrator using 555 Timer
Design and Implementation of Astable Multivibrator using 555 Timer IOSRJEEE
 
Introduction to flipflops basic of elctronics COA.pptx
Introduction to flipflops basic of elctronics COA.pptxIntroduction to flipflops basic of elctronics COA.pptx
Introduction to flipflops basic of elctronics COA.pptxSaini71
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxUtsavDas21
 
Unit 4 sequential circuits
Unit 4  sequential circuitsUnit 4  sequential circuits
Unit 4 sequential circuitsAmrutaMehata
 

Similaire à Promo book2 ch1_feb23_11 (20)

Introduction to Sequential DevicesChapter 66.1 M.docx
Introduction to Sequential DevicesChapter 66.1 M.docxIntroduction to Sequential DevicesChapter 66.1 M.docx
Introduction to Sequential DevicesChapter 66.1 M.docx
 
555 timer vibrators
555 timer vibrators555 timer vibrators
555 timer vibrators
 
Lica unit4 ppt
Lica unit4 ppt Lica unit4 ppt
Lica unit4 ppt
 
10 lm 555 timer
10 lm 555 timer10 lm 555 timer
10 lm 555 timer
 
555 timer
555 timer555 timer
555 timer
 
Cse(b) g1 flipflop
Cse(b) g1 flipflopCse(b) g1 flipflop
Cse(b) g1 flipflop
 
Flip & flop by Zaheer Abbas Aghani
Flip & flop by Zaheer Abbas AghaniFlip & flop by Zaheer Abbas Aghani
Flip & flop by Zaheer Abbas Aghani
 
Mutivibrators
MutivibratorsMutivibrators
Mutivibrators
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential Logic
 
IMG_20230325_121848 (13 files merged).ppt
IMG_20230325_121848 (13 files merged).pptIMG_20230325_121848 (13 files merged).ppt
IMG_20230325_121848 (13 files merged).ppt
 
555 timer
555 timer555 timer
555 timer
 
Ic 555 timer 0
Ic 555 timer 0Ic 555 timer 0
Ic 555 timer 0
 
UNIT-5.pptx.ppt
UNIT-5.pptx.pptUNIT-5.pptx.ppt
UNIT-5.pptx.ppt
 
Design and Implementation of Astable Multivibrator using 555 Timer
Design and Implementation of Astable Multivibrator using 555 Timer Design and Implementation of Astable Multivibrator using 555 Timer
Design and Implementation of Astable Multivibrator using 555 Timer
 
Introduction to flipflops basic of elctronics COA.pptx
Introduction to flipflops basic of elctronics COA.pptxIntroduction to flipflops basic of elctronics COA.pptx
Introduction to flipflops basic of elctronics COA.pptx
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
 
555 timer ppt by vishnu
555 timer ppt by vishnu555 timer ppt by vishnu
555 timer ppt by vishnu
 
Unit 4 sequential circuits
Unit 4  sequential circuitsUnit 4  sequential circuits
Unit 4 sequential circuits
 
IC 555.pptx
IC 555.pptxIC 555.pptx
IC 555.pptx
 
DLD Chapter-5.pdf
DLD Chapter-5.pdfDLD Chapter-5.pdf
DLD Chapter-5.pdf
 

Plus de Sarah Krystelle

SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for PULA)
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for PULA)SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for PULA)
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for PULA)Sarah Krystelle
 
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)Sarah Krystelle
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)Sarah Krystelle
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)Sarah Krystelle
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)Sarah Krystelle
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)Sarah Krystelle
 
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATIONSIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATIONSarah Krystelle
 
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2Sarah Krystelle
 
Exp amplitude modulation (8)
Exp amplitude modulation (8)Exp amplitude modulation (8)
Exp amplitude modulation (8)Sarah Krystelle
 
Exp amplitude modulation (7)
Exp amplitude modulation (7)Exp amplitude modulation (7)
Exp amplitude modulation (7)Sarah Krystelle
 
Exp amplitude modulation (6)
Exp amplitude modulation (6)Exp amplitude modulation (6)
Exp amplitude modulation (6)Sarah Krystelle
 
Exp amplitude modulation (5)
Exp amplitude modulation (5)Exp amplitude modulation (5)
Exp amplitude modulation (5)Sarah Krystelle
 
Exp amplitude modulation (4)
Exp amplitude modulation (4)Exp amplitude modulation (4)
Exp amplitude modulation (4)Sarah Krystelle
 
Exp amplitude modulation (3)
Exp amplitude modulation (3)Exp amplitude modulation (3)
Exp amplitude modulation (3)Sarah Krystelle
 
Exp amplitude modulation (2)
Exp amplitude modulation (2)Exp amplitude modulation (2)
Exp amplitude modulation (2)Sarah Krystelle
 
Exp amplitude modulation (1)
Exp amplitude modulation (1)Exp amplitude modulation (1)
Exp amplitude modulation (1)Sarah Krystelle
 

Plus de Sarah Krystelle (20)

SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for PULA)
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for PULA)SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for PULA)
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for PULA)
 
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)
 
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATIONSIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION
 
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2
 
Exp amplitude modulation (8)
Exp amplitude modulation (8)Exp amplitude modulation (8)
Exp amplitude modulation (8)
 
Exp amplitude modulation (7)
Exp amplitude modulation (7)Exp amplitude modulation (7)
Exp amplitude modulation (7)
 
Exp amplitude modulation (6)
Exp amplitude modulation (6)Exp amplitude modulation (6)
Exp amplitude modulation (6)
 
Exp amplitude modulation (5)
Exp amplitude modulation (5)Exp amplitude modulation (5)
Exp amplitude modulation (5)
 
Exp amplitude modulation (4)
Exp amplitude modulation (4)Exp amplitude modulation (4)
Exp amplitude modulation (4)
 
Exp amplitude modulation (3)
Exp amplitude modulation (3)Exp amplitude modulation (3)
Exp amplitude modulation (3)
 
Exp amplitude modulation (2)
Exp amplitude modulation (2)Exp amplitude modulation (2)
Exp amplitude modulation (2)
 
Exp amplitude modulation (1)
Exp amplitude modulation (1)Exp amplitude modulation (1)
Exp amplitude modulation (1)
 
Am
AmAm
Am
 
Sarah
SarahSarah
Sarah
 
Pula
PulaPula
Pula
 
Pagara
PagaraPagara
Pagara
 

Dernier

Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOnemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOne Monitar
 
WSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfWSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfJamesConcepcion7
 
digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingrajputmeenakshi733
 
Planetary and Vedic Yagyas Bring Positive Impacts in Life
Planetary and Vedic Yagyas Bring Positive Impacts in LifePlanetary and Vedic Yagyas Bring Positive Impacts in Life
Planetary and Vedic Yagyas Bring Positive Impacts in LifeBhavana Pujan Kendra
 
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdftrending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdfMintel Group
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerAggregage
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdfShaun Heinrichs
 
Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxappkodes
 
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfGUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfDanny Diep To
 
Jewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreJewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreNZSG
 
BAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptxBAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptxran17april2001
 
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdfChris Skinner
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Anamaria Contreras
 
20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdfChris Skinner
 
Supercharge Your eCommerce Stores-acowebs
Supercharge Your eCommerce Stores-acowebsSupercharge Your eCommerce Stores-acowebs
Supercharge Your eCommerce Stores-acowebsGOKUL JS
 
Healthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterHealthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterJamesConcepcion7
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfShashank Mehta
 
Excvation Safety for safety officers reference
Excvation Safety for safety officers referenceExcvation Safety for safety officers reference
Excvation Safety for safety officers referencessuser2c065e
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationAnamaria Contreras
 

Dernier (20)

Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOnemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
 
WSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfWSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdf
 
digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketing
 
Planetary and Vedic Yagyas Bring Positive Impacts in Life
Planetary and Vedic Yagyas Bring Positive Impacts in LifePlanetary and Vedic Yagyas Bring Positive Impacts in Life
Planetary and Vedic Yagyas Bring Positive Impacts in Life
 
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdftrending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon Harmer
 
WAM Corporate Presentation April 12 2024.pdf
WAM Corporate Presentation April 12 2024.pdfWAM Corporate Presentation April 12 2024.pdf
WAM Corporate Presentation April 12 2024.pdf
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf
 
Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptx
 
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfGUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
 
Jewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreJewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource Centre
 
BAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptxBAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptx
 
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.
 
20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf
 
Supercharge Your eCommerce Stores-acowebs
Supercharge Your eCommerce Stores-acowebsSupercharge Your eCommerce Stores-acowebs
Supercharge Your eCommerce Stores-acowebs
 
Healthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterHealthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare Newsletter
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdf
 
Excvation Safety for safety officers reference
Excvation Safety for safety officers referenceExcvation Safety for safety officers reference
Excvation Safety for safety officers reference
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement Presentation
 

Promo book2 ch1_feb23_11

  • 1. CHAPTER 1 Flip-Flops & Related Devices Sequential circuits are circuits which incorporate some aspect of memory in their structure. Combinational logic produces an active output that reflects present inputs, as long as they remain active. In contrast, sequential circuits produce an active output based on both past and present inputs. An output can remain active even though the input(s) associated with the initial response are no longer asserted. For this reason a sequential circuit’s output or logic level is typically referred to as its state. Historically, the first digital devices that were created based on positive feedback and having a memory characteristic, were called multivibrators. Positive feedback is an amplified output response that reinforces the initial input action whether transient or purposely injected into the circuit. Most commonly, it is two cross coupled inverting amplifiers, whether transistor or IC, that are used. In a digital logic context the two inverters would likely be NOT gates or alternately NAND or NOR gates configured as inverters. The circuit is considered shortly. Based on whether the feedback path is capacitively coupled or directly coupled between the two inverters, three classes of multivibrators result: Bistable Devices A pair of directly coupled interconnections results in a device that resides in either of two stable states (output conditions) indefinitely, awaiting a trigger input which will flip it to the opposite state. Latches and flip-flops fall into this category. Monostable Devices Direct coupling paired with capacitively coupling produces a device that remains in the stable state dictated by the direct coupling. Upon triggering, it goes to a quasi-stable state for a time determined by a resistor/capacitor time constant (RC product, in seconds), after which it returns to its initial stable state. One-shots and timers fall into this category. Astable Devices Only capacitive coupling is used to complete the feedback path causing the circuit to oscillate back and forth between two quasi-stable states without any external triggering. The time in either state is determined by two separate resistor/capacitor time constants. Clock circuits and oscillators fall into this category. 1. Latches A. Introduction The term latch is synonymous with the term memory in the simplest one-bit context. Static Random Access Memory (SRAM) is based on the latch configuration. When “n” 1-bit memory elements are grouped together, this functional unit is called an n-bit register. This type of memory is volatile (functional only when bias voltage is applied). When a latch is stimulated or triggered by an external signal it will react, taking a particular state (output logic level). When a group of latches function as a register, then the entire output word of “n” bits will also be referred to as a state. For example, if the output of a four bit register in a counter circuit is 1001, then we would say the counter is in state 9.
  • 2. Flip-Flops and Related Devices Pg. 17 E. Setup and Hold Times Edge triggered flip-flops perform according to specification only when the desired input, i.e. D in Figure 1-23, is unchanging during an active clock edge. Otherwise, an undesirable phenomenon know as metastability may occur. Setup time (tsu ) is the time the input must be unchanging, preceding the clock edge. Hold time (th ) is the time the input must remain unchanging following the clock edge. To illustrate, the manufacturer specified tsu and th have been represented by crosshatch located at three active clock edges. Clock Î: a low which is to be written, is asserted ahead of the clock edge but not maintained long enough to satisfy the hold time. Q therefore cannot be guaranteed to be a correct low value after the clock. Clock Ï: there is no problem with “hold time” but the low was not present long enough preceding the clock edge to satisfy “setup time”. Clock Ð: a desirable situation where both “setup” and “hold” times are easily satisfied. In Quartus II the term “slack” is used: (c) has the desired “setup” slack and “hold” slack (both +ve), (b) has -ve “setup” slack while (a) has negative “hold” slack, which is unacceptable. Figure 1-23 D Flip-Flop Setup and Hold Specifications. Flip-flop input levels must be unchanging during an active clock edge (and have +ve slack), otherwise the latched value will be unpredictable. Manufacturers guarantee performance based on minimum requirements for setup (tsu) and hold (th ) times. (a) Setup is satisfied but the low is not held long enough to satisfy the th requirement. (b) The low was not asserted soon enough to satisfy tsu (c) The setup and hold requirements are easily met for the high to be reliably latched. Modern flip-flops have tSU in the low 10’s of nanoseconds and t h as low as zero or slightly negative. For these flip-flops, the t h requirement is always less than tp (typically 15 ns to 40 ns) from clock to output Q, which ensures the correct operation of shift register type circuits. Figure 1-24 Flip-Flop Timing Considerations. For synchronous multi-flip-flop circuits to operate properly it is necessary for the hold time requirement to be less than the propagation delay. (a) A 2-bit shift register (b) Q 0 output must be unchanging during the active clock edge because it is the D 1 input. As illustrated, the hold time requirement is easily satisfied because of propagation delay, and the 0 is correctly latched to Q 0.
  • 3. Flip-Flops and Related Devices Pg. 21 Table 1-4 74VHC123 Truth Table. Inputs Outputs Function & A B &&& C LR Q & Q H H pulse out t W = Cx Rx X L H L H inhibit H X H L H inhibit L H pulse out L H pulse out X X L L H reset Figure 1-28 74VHC123 One-Shot . The 74VHC123 retriggerable one-shot is a versatile modern version of an old device, having improved characteristics. The calculation, tw = Cx Rx, is simplified and a broad range of values of R and C are allowed. Schmitt trigger inputs are provided for both active high and low triggering. A low assertion of CLR can be used to inhibit the output and when removed it also triggers the one-shot. Clock Circuit A versatile clock circuit based on a single 74VHC123 is shown in Figure 1-29. It has low and high times which are set by separate Rx/Cx pairs. The first one-shot triggers the second after its pulse time. The second then triggers the first in the same way, resulting in continuous oscillations. For very large C values the device could be damaged when power is removed unless a clamping diode is placed across Rx (see manufacturer’s data sheet). Figure 1-29 74VHC123 Oscillator. The two one-shots in a package allows a very simple but versatile clock circuit to be implemented. There is full control over the pulse width and duty cycle by way of the variable resistors. An unused input could be configured to inhibit the clock, if desired. f = 1/(t w1 +t w2), t w = Cx Rx. Pin numbers have been included. 5. Flip-Flops in Quartus II. The maxplus2 Quartus II Library contains the 74xx series flip-flops which can be used as needed. However there are also some HDL based flip-flop megafunctions which allow multiple instances and a degree of customization, such as the exclusion or inclusion of synchronous or asynchronous set/reset inputs. The flip-flops are naturally positive edge triggered but the clock port can be inverted to produce negative edge triggering. We will look briefly at a representative example.
  • 4. Flip-Flops and Related Devices Pg. 27 Practice Problem Set 1-1 Chapter 1 1. Circle the correct true/false answer. T F A 74HC00 can be configured as a debounce circuit for a single-pole double-throw switch with the addition of external pull-up resistors. T F A monostable device has two quasi-stable states. T F A clock is an example of an astable multivibrator. T F The basic latch is based on positive feedback around two inverters. T F The SRAM cell that is typically used in FPGAs is essentially just a latch. T F If a simple SR latch has both its S and R inputs asserted, it will operate in hold mode. T F The SR latch which is based on two 2-input NOR gates will have active low S, R inputs. T F The gated SR latch uses flow control gates to implement the Enable input. T F Switch bounce is an oscillation caused by positive feedback. T F The term “transparent” is descriptive of D latch operation when the latch is simply enabled. T F The term flip-flop is used to describe latch type circuits that are edge triggered. T F Edge detection circuitry in the 74HCxx series of flip-flops is based on the principle of a race hazzard creating a very brief pulse. T F A 74HC74 is a negative edge triggered D flip-flop. T F Toggle flip-flop operation produces a divide by two action with respect to the clock. T F The defining equation for the JK flip-flop is & Q + K & . J Q T F Set-up time is the time it takes for the Q output to display a response to the active clock edge. T F The Hold time requirements of modern flip-flops is extremely small. T F Other flip-flop types can be derived from the D flip-flop. T F The data inputs of a LUT in a modern FPGA are hard wired in order to establish the desired logic function. T F It is important that a flip-flop exhibit set-up times that exceed its hold time requirements. 2. Complete the sketch of Q for the following SR latch.
  • 5. Flip-Flops and Related Devices Pg. 31 Practice Problem Set 1-1 Chapter 1 SOLUTION 1. Circle the correct true/false answer. T A 74HC00 can be configured as a debounce circuit for a single-pole double-throw switch with the addition of external pull-up resistors. F A monostable device has two quasi-stable states. T A clock is an example of an astable multivibrator. T The basic latch is based on positive feedback around two inverters. T The SRAM cell that is typically used in FPGAs is essentially just a latch. F If a simple SR latch has both its S and R inputs asserted, it will operate in hold mode. F The SR latch which is based on two 2-input NOR gates will have active low S, R inputs. T The gated SR latch uses flow control gates to implement the Enable input. F Switch bounce is an oscillation caused by positive feedback. T The term “transparent” is descriptive of D latch operation when the latch is simply enabled. T The term flip-flop is used to describe latch type circuits that are edge triggered. T Edge detection circuitry in the 74HCxx series of flip-flops is based on the principle of a race hazzard creating a very brief pulse. F A 74HC74 is a negative edge triggered D flip-flop. T Toggle flip-flop operation produces a divide by two action with respect to the clock. F The defining equation for the JK flip-flop is & Q + K & . J Q F Setup time is the time it takes for the Q output to display a response to the active clock edge. T The hold time requirements of modern flip-flops is extremely small. T Other flip-flop types can be derived from the D flip-flop by adding gating. F The data inputs of a LUT in a modern FPGA are hard wired in order to establish the desired logic function. F It is important that a flip-flop exhibit setup times that exceed its hold time requirements. 2. Complete the sketch of Q for the following SR latch.