SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Feedback Sequential Circuits
• The simplest bistable / latches /
  flipflops are all FSCs
• Each has one or more feedback loops
• Ignoring the behavior during
  transitions they store a 0 or 1 at all
  times
• The feedback loops are memory
  elements and the circuits behavior
  depends on both the current inputs
  and the values stored in the loops
Analysis

• FSCs are the most common example
  of Fundamental mode circuits.
  – Inputs are not normally allowed to
    change simultaneously.
  – Analysis procedure assumes inputs
    change one at a time
  – Circuit settles to a stable internal state
• Differs from clocked circuits, in
  which multiple inputs can change at
  almost arbitrary times without
  affecting the state and all input
  values are sampled and state changes
  occur with respect to a clock signal
• Feedback sequential circuits may be
  Mealy or Moore circuits.
• A circuit with n feedback loops has n
  binary state variables and 2n states.
FSC structure for Mealy and
              Moore machines

                                 Mealy
                                machine
                                 only


Inputs

               Next                 Output
               State
                      Current state Logic
              Logic F                 G
                                             Outputs

         Feedback loops
• Break the feedback loops so that the next
  value stored in each loop can be
  predicted as a function of the circuit
  inputs and the current value stored in all
  loops.
• Insert a fictional buffer whose output is Y
• Y is the single state variable in this
  example
• If current state Y and inputs C and D are
  known the next state Y* can be predicted
Excitation equation
         Y* = (C D ) + (C D’ + Y’)’
          Y* = C D + C’ Y + D Y
• Now the state of the feedback loop can be
  written as a function of the current state
  and input
            Transition table




• Each cell in the transition table shows the
  output of the fictional buffer after the
  corresponding state and input combination
  occurs
• By definition, a fundamental–mode
  circuit does not have a clock to tell it
  when to sample its inputs.
• Instead we can imagine that the circuit is
  evaluating its current state continuously
• As a result of each evaluation, it goes into
  the next state predicted by the transition
  table
• Most of the time, the next state is the
  same as the current state; this is the
  essence of the fundamental –mode
  operation
Some definitions
• Total state: combination of internal state (value
  of feedback loop) and input state (current input
  value) .
• Stable total state: Total state whose next state
  predicted by the state table is the same as the
  current internal state.
• Unstable total state: Total state whose next state
  predicted by the state table is different from the
  current internal state.
                   State table
        State           Input CD

          S      00     01     11     10
         S0     S0      S0     S1     S0
         S1     S1      S1     S1     S0

                      Next State S*
• To complete the analysis, we must
  determine how the outputs behave as
  functions of the internal state and inputs.
• There are two outputs and hence two
  equations
         Q = Y* = C D + C’ Y + D Y
               QN = C D’ + Y’
•Note that Q and QN are outputs, not state
variables.
•Even though the circuit has two outputs
which can take up 4 combinations, it has
only 1 state variable Y, and hence only 2
states
•The output values can be incorporated in a
combined state/output table which
completely describes the circuit
State output table




•Although Q and QN are normally
complimentary, it is possible for them to
have the same value momentarily
•They have the value 1 momentarily during
the transition from S0 to S1 under the input
combination CD = 11
•The behavior of the circuit can be
predicted from this state output table
Analysis for few transitions




• Start with stable total state “S0/00” ( S =
  S0 and CD = 00)
• 1 bit changes at a time
• Change D to 1
• Change C to 1
Multiple input changes




• Start with stable total state “S1/11”
• C and D are both simultaneously set to 0
• Almost simultaneous input changes occur
  in practice
• May change in different orders
• -suppose C changes first, final is S1/00
• -suppose D changes first, final is S0/00
• Unpredictable final state, feedback loop
  may become metastable
Multiple input changes




• Start with stable total state “S0/00”
• C and D are both simultaneously set to 1
• Almost simultaneous input changes occur
  in practice
• May change in different orders
• -suppose C changes first, final is S1/11
• -suppose D changes first, final is S1/11
• Simultaneous input changes don’t always
  cause unpredictable behavior.
Analyzing Circuits with Multiple
           Feedback Loops
• Break each loop and insert buffers
• Many possible ways – cut sets
• Best? Minimal cut set
• Different minimal cut sets
• Different excitation equations, transition
  tables and state/output tables
• However, stable total states derived from
  one set should correspond one-to-one to
  the stable total states from the other
• State/Output table should give the same
  input/output behavior, with only the
  names and coding of the states changed
• Even if non minimal cut sets are used the
  resulting state/output table will still
  describe the circuit correctly but using
  more states
Analyzing Circuits with Multiple
              Feedback Loops
• A good example is the commercial circuit
  design for a positive edge triggered TTL
  D flip-flop




• The circuit is simplified assuming that
  the Preset and Clear inputs are never
  asserted and showing the fictional buffers
  to break the 3 feedback loops
Simplified Positive Edge triggered
      D flip-flop for analysis

                      (Y2·D)+(Y1·C)
                         Y1*
                       {[(Y2·D)+(Y1·C)+C‘]·Y3}+(Y1·C)
                Y1
                         (Y1·C)'

                                                  Y3*
               (Y2·D)+(Y1·C)+C'            Y3


                         Y2*
                 Y2             {[(Y2·D)+(Y1·C)+C‘]·Y3}'

                      (Y2·D)'

Y1* = (Y2·D)+(Y1·C)
Y2* = (Y2·D)+(Y1·C)+C' = (Y2·D)+(Y1)+C'
Y3* = {[(Y2·D)+(Y1·C)+C']·Y3}+(Y1·C)
    = {[(Y2·D)+(Y1)+C']·Y3}+(Y1·C)
    = (Y2·Y3·D)+(Y1·Y3)+(C‘·Y3)+(Y1·C)
Simplified Positive Edge triggered
       D flip-flop for analysis

                       (Y2·D)+(Y1·C)
                          Y1*
                        {[(Y2·D)+(Y1·C)+C‘]·Y3}+(Y1·C)
                  Y1
                         (Y1·C)'

                                                 Y3*
                (Y2·D)+(Y1·C)+C'          Y3


                         Y2*
                  Y2           {[(Y2·D)+(Y1·C)+C‘]·Y3}'

                       Y2·D'


Q = Y3* = (Y2·Y3·D)+(Y1·Y3)+(C‘·Y3)+(Y1·C)
QN = {[(Y2·D)+(Y1·C)+C']·Y3}'
   = [(Y2·D)+(Y1)+C']'+Y3'
   = [(Y2·D)'· (Y1)'·C'']+Y3'
   = [(Y2'+D')·(Y1)'·C]+Y3'
    = (Y2'·Y1'·C) + (D'·Y1'·C)+Y3'
Transition table
Races
• A race is said to occur when multiple internal
  variables change state as a result of a single
  input changing state.
• Starting at state 011/00 change CLK to 1.
• The next internal state is 000
• The state may change as 011→ 010→ 000
• Or as 011→ 001→ 000
• Noncritical race: the final state does not depend
  on the order in which the state variables change.
• Now modifying the next state entry for total
  state 010/10 to 110 instead of 000
• The state may change as 011→ 010→ 110 → 111
• Or as 011→ 001→ 000
• The next internal state could be111 or 000
• Critical race: the final state depends on the
  order in which the state variables change.




                                    110
State Tables
• Once it has been determined that a
  transition table does not have any critical
  races, the state-variable combinations can
  be named and outputs can be determined
  to obtain a state/output table.
• State table shows that it takes multiple
  hops to reach a new stable total state in
  some cases
• S0/11→S2/01→S6/01
Flow Tables
Flow table eliminates:
   – Rows for unused internal states (states
     that are stable for no input
     combination).
   – Next state entries for total states that
     cannot be reached from a stable total
     state as the result of a single input
     change.
• It eliminates multiple hops and shows
  only the ultimate destination of each
  transition.
State Table to Flow table
Flow table




             01
Edge triggered behavior
•   Assume internal state S0/10.
•   Change D to 1, then 0.
•   Change clock to 0.
•   Change D to 1, then 0.
•   What happens when clock changes
    to 1.

Weitere ähnliche Inhalte

Was ist angesagt?

Types of flip flops ppt
Types of flip flops pptTypes of flip flops ppt
Types of flip flops pptViraj Shah
 
Introduction to FPGA, VHDL
Introduction to FPGA, VHDL  Introduction to FPGA, VHDL
Introduction to FPGA, VHDL Amr Rashed
 
NYQUIST CRITERION FOR ZERO ISI
NYQUIST CRITERION FOR ZERO ISINYQUIST CRITERION FOR ZERO ISI
NYQUIST CRITERION FOR ZERO ISIFAIZAN SHAFI
 
Chapter 5 introduction to VHDL
Chapter 5 introduction to VHDLChapter 5 introduction to VHDL
Chapter 5 introduction to VHDLSSE_AndyLi
 
Introduction state machine
Introduction state machineIntroduction state machine
Introduction state machineShreyans Pathak
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - CountersJayakrishnan J
 
lecture-18.pptx
lecture-18.pptxlecture-18.pptx
lecture-18.pptxthunder_x
 
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
 
Reduced ordered binary decision diagram
Reduced ordered binary decision diagramReduced ordered binary decision diagram
Reduced ordered binary decision diagramTeam-VLSI-ITMU
 
RF Module Design - [Chapter 5] Low Noise Amplifier
RF Module Design - [Chapter 5]  Low Noise AmplifierRF Module Design - [Chapter 5]  Low Noise Amplifier
RF Module Design - [Chapter 5] Low Noise AmplifierSimen Li
 
Lect 7: Verilog Behavioral model for Absolute Beginners
Lect 7: Verilog Behavioral model for Absolute BeginnersLect 7: Verilog Behavioral model for Absolute Beginners
Lect 7: Verilog Behavioral model for Absolute BeginnersDr.YNM
 
Clock divider by 3
Clock divider by 3Clock divider by 3
Clock divider by 3Ashok Reddy
 
RF Circuit Design - [Ch4-2] LNA, PA, and Broadband Amplifier
RF Circuit Design - [Ch4-2] LNA, PA, and Broadband AmplifierRF Circuit Design - [Ch4-2] LNA, PA, and Broadband Amplifier
RF Circuit Design - [Ch4-2] LNA, PA, and Broadband AmplifierSimen Li
 
Verilog coding of mux 8 x1
Verilog coding of mux  8 x1Verilog coding of mux  8 x1
Verilog coding of mux 8 x1Rakesh kumar jha
 

Was ist angesagt? (20)

Types of flip flops ppt
Types of flip flops pptTypes of flip flops ppt
Types of flip flops ppt
 
Fpga 01-digital-logic-design
Fpga 01-digital-logic-designFpga 01-digital-logic-design
Fpga 01-digital-logic-design
 
12 latches
12 latches12 latches
12 latches
 
Introduction to FPGA, VHDL
Introduction to FPGA, VHDL  Introduction to FPGA, VHDL
Introduction to FPGA, VHDL
 
Counters
CountersCounters
Counters
 
NYQUIST CRITERION FOR ZERO ISI
NYQUIST CRITERION FOR ZERO ISINYQUIST CRITERION FOR ZERO ISI
NYQUIST CRITERION FOR ZERO ISI
 
08 decoder
08 decoder08 decoder
08 decoder
 
Chapter 5 introduction to VHDL
Chapter 5 introduction to VHDLChapter 5 introduction to VHDL
Chapter 5 introduction to VHDL
 
Introduction state machine
Introduction state machineIntroduction state machine
Introduction state machine
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
 
lecture-18.pptx
lecture-18.pptxlecture-18.pptx
lecture-18.pptx
 
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
 
Reduced ordered binary decision diagram
Reduced ordered binary decision diagramReduced ordered binary decision diagram
Reduced ordered binary decision diagram
 
RF Module Design - [Chapter 5] Low Noise Amplifier
RF Module Design - [Chapter 5]  Low Noise AmplifierRF Module Design - [Chapter 5]  Low Noise Amplifier
RF Module Design - [Chapter 5] Low Noise Amplifier
 
Lect 7: Verilog Behavioral model for Absolute Beginners
Lect 7: Verilog Behavioral model for Absolute BeginnersLect 7: Verilog Behavioral model for Absolute Beginners
Lect 7: Verilog Behavioral model for Absolute Beginners
 
Clock divider by 3
Clock divider by 3Clock divider by 3
Clock divider by 3
 
RF Circuit Design - [Ch4-2] LNA, PA, and Broadband Amplifier
RF Circuit Design - [Ch4-2] LNA, PA, and Broadband AmplifierRF Circuit Design - [Ch4-2] LNA, PA, and Broadband Amplifier
RF Circuit Design - [Ch4-2] LNA, PA, and Broadband Amplifier
 
Verilog coding of mux 8 x1
Verilog coding of mux  8 x1Verilog coding of mux  8 x1
Verilog coding of mux 8 x1
 
L5 Adders
L5 AddersL5 Adders
L5 Adders
 

Andere mochten auch

Introduction to State Machines
Introduction to State MachinesIntroduction to State Machines
Introduction to State Machinescodeofficer
 
State Machine Design and Synthesis
State Machine Design and SynthesisState Machine Design and Synthesis
State Machine Design and SynthesisAbhilash Nair
 
Designing Clocked Synchronous State Machine
Designing Clocked Synchronous State MachineDesigning Clocked Synchronous State Machine
Designing Clocked Synchronous State MachineAbhilash Nair
 
Synchronous state machines. Moore and Mealy state machines (FSM)
Synchronous state machines.  Moore and Mealy state machines (FSM)Synchronous state machines.  Moore and Mealy state machines (FSM)
Synchronous state machines. Moore and Mealy state machines (FSM)Mumbi Chishimba
 
Finite State Machines
Finite State Machines Finite State Machines
Finite State Machines Basel Mansour
 
synchronous state machine design
synchronous state machine designsynchronous state machine design
synchronous state machine designAdarsh Patel
 

Andere mochten auch (8)

Digital Basics
Digital BasicsDigital Basics
Digital Basics
 
Introduction to State Machines
Introduction to State MachinesIntroduction to State Machines
Introduction to State Machines
 
State Machine Design and Synthesis
State Machine Design and SynthesisState Machine Design and Synthesis
State Machine Design and Synthesis
 
Designing Clocked Synchronous State Machine
Designing Clocked Synchronous State MachineDesigning Clocked Synchronous State Machine
Designing Clocked Synchronous State Machine
 
EPROM, PROM & ROM
EPROM, PROM & ROMEPROM, PROM & ROM
EPROM, PROM & ROM
 
Synchronous state machines. Moore and Mealy state machines (FSM)
Synchronous state machines.  Moore and Mealy state machines (FSM)Synchronous state machines.  Moore and Mealy state machines (FSM)
Synchronous state machines. Moore and Mealy state machines (FSM)
 
Finite State Machines
Finite State Machines Finite State Machines
Finite State Machines
 
synchronous state machine design
synchronous state machine designsynchronous state machine design
synchronous state machine design
 

Ähnlich wie Feedback Sequential Circuits

Unit I_CDA-1 computer design and applications.
Unit I_CDA-1 computer design and applications.Unit I_CDA-1 computer design and applications.
Unit I_CDA-1 computer design and applications.brijeshgolani77
 
UNIT-IV.pptx
UNIT-IV.pptxUNIT-IV.pptx
UNIT-IV.pptxamudhak10
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptxamudhak10
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxThapar Institute
 
04 sequential circuits
04 sequential circuits04 sequential circuits
04 sequential circuitsxyxz
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuitBrenda Debra
 
Asynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 pptAsynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 pptSIVALAKSHMIPANNEERSE
 
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
 
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
 
digital-electronics_7.pdf
digital-electronics_7.pdfdigital-electronics_7.pdf
digital-electronics_7.pdfsarala9
 
Chapter 4 flip flop for students
Chapter 4 flip flop for studentsChapter 4 flip flop for students
Chapter 4 flip flop for studentsCT Sabariah Salihin
 
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential CircuitHeman Pathak
 
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
 

Ähnlich wie Feedback Sequential Circuits (20)

Lec 25 26_27
Lec 25 26_27Lec 25 26_27
Lec 25 26_27
 
Unit I_CDA-1 computer design and applications.
Unit I_CDA-1 computer design and applications.Unit I_CDA-1 computer design and applications.
Unit I_CDA-1 computer design and applications.
 
UNIT-IV.pptx
UNIT-IV.pptxUNIT-IV.pptx
UNIT-IV.pptx
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptx
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptx
 
04 sequential circuits
04 sequential circuits04 sequential circuits
04 sequential circuits
 
ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
 
Asynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 pptAsynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 ppt
 
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
 
flip flop 13.ppt
flip flop 13.pptflip flop 13.ppt
flip flop 13.ppt
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
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
 
unit3.ppt
unit3.pptunit3.ppt
unit3.ppt
 
digital-electronics_7.pdf
digital-electronics_7.pdfdigital-electronics_7.pdf
digital-electronics_7.pdf
 
Lec9
Lec9Lec9
Lec9
 
Chapter 4 flip flop for students
Chapter 4 flip flop for studentsChapter 4 flip flop for students
Chapter 4 flip flop for students
 
Sequential Circuit
Sequential CircuitSequential Circuit
Sequential Circuit
 
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
 
Flip flops
Flip flopsFlip flops
Flip flops
 

Mehr von Abhilash Nair

Sequential Circuits - Flip Flops
Sequential Circuits - Flip FlopsSequential Circuits - Flip Flops
Sequential Circuits - Flip FlopsAbhilash Nair
 
VHDL - Enumerated Types (Part 3)
VHDL - Enumerated Types (Part 3)VHDL - Enumerated Types (Part 3)
VHDL - Enumerated Types (Part 3)Abhilash Nair
 
Introduction to VHDL - Part 1
Introduction to VHDL - Part 1Introduction to VHDL - Part 1
Introduction to VHDL - Part 1Abhilash Nair
 
Synchronous design process
Synchronous design processSynchronous design process
Synchronous design processAbhilash Nair
 
Analysis of state machines & Conversion of models
Analysis of state machines & Conversion of modelsAnalysis of state machines & Conversion of models
Analysis of state machines & Conversion of modelsAbhilash Nair
 
Analysis of state machines
Analysis of state machinesAnalysis of state machines
Analysis of state machinesAbhilash Nair
 
Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Abhilash Nair
 
Sequential Circuits - Flip Flops (Part 1)
Sequential Circuits - Flip Flops (Part 1)Sequential Circuits - Flip Flops (Part 1)
Sequential Circuits - Flip Flops (Part 1)Abhilash Nair
 
Static and Dynamic Read/Write memories
Static and Dynamic Read/Write memoriesStatic and Dynamic Read/Write memories
Static and Dynamic Read/Write memoriesAbhilash Nair
 
Documentation Standards of an IC
Documentation Standards of an ICDocumentation Standards of an IC
Documentation Standards of an ICAbhilash Nair
 

Mehr von Abhilash Nair (20)

Sequential Circuits - Flip Flops
Sequential Circuits - Flip FlopsSequential Circuits - Flip Flops
Sequential Circuits - Flip Flops
 
VHDL Part 4
VHDL Part 4VHDL Part 4
VHDL Part 4
 
MSI Shift Registers
MSI Shift RegistersMSI Shift Registers
MSI Shift Registers
 
VHDL - Enumerated Types (Part 3)
VHDL - Enumerated Types (Part 3)VHDL - Enumerated Types (Part 3)
VHDL - Enumerated Types (Part 3)
 
VHDL - Part 2
VHDL - Part 2VHDL - Part 2
VHDL - Part 2
 
Introduction to VHDL - Part 1
Introduction to VHDL - Part 1Introduction to VHDL - Part 1
Introduction to VHDL - Part 1
 
Synchronous design process
Synchronous design processSynchronous design process
Synchronous design process
 
Analysis of state machines & Conversion of models
Analysis of state machines & Conversion of modelsAnalysis of state machines & Conversion of models
Analysis of state machines & Conversion of models
 
Analysis of state machines
Analysis of state machinesAnalysis of state machines
Analysis of state machines
 
Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)Sequential Circuits - Flip Flops (Part 2)
Sequential Circuits - Flip Flops (Part 2)
 
Sequential Circuits - Flip Flops (Part 1)
Sequential Circuits - Flip Flops (Part 1)Sequential Circuits - Flip Flops (Part 1)
Sequential Circuits - Flip Flops (Part 1)
 
FPGA
FPGAFPGA
FPGA
 
FPLDs
FPLDsFPLDs
FPLDs
 
CPLDs
CPLDsCPLDs
CPLDs
 
CPLD & FPLD
CPLD & FPLDCPLD & FPLD
CPLD & FPLD
 
CPLDs
CPLDsCPLDs
CPLDs
 
CPLDs
CPLDsCPLDs
CPLDs
 
Static and Dynamic Read/Write memories
Static and Dynamic Read/Write memoriesStatic and Dynamic Read/Write memories
Static and Dynamic Read/Write memories
 
Documentation Standards of an IC
Documentation Standards of an ICDocumentation Standards of an IC
Documentation Standards of an IC
 
Shift Registers
Shift RegistersShift Registers
Shift Registers
 

Kürzlich hochgeladen

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 

Kürzlich hochgeladen (20)

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 

Feedback Sequential Circuits

  • 1. Feedback Sequential Circuits • The simplest bistable / latches / flipflops are all FSCs • Each has one or more feedback loops • Ignoring the behavior during transitions they store a 0 or 1 at all times • The feedback loops are memory elements and the circuits behavior depends on both the current inputs and the values stored in the loops
  • 2. Analysis • FSCs are the most common example of Fundamental mode circuits. – Inputs are not normally allowed to change simultaneously. – Analysis procedure assumes inputs change one at a time – Circuit settles to a stable internal state • Differs from clocked circuits, in which multiple inputs can change at almost arbitrary times without affecting the state and all input values are sampled and state changes occur with respect to a clock signal • Feedback sequential circuits may be Mealy or Moore circuits. • A circuit with n feedback loops has n binary state variables and 2n states.
  • 3. FSC structure for Mealy and Moore machines Mealy machine only Inputs Next Output State Current state Logic Logic F G Outputs Feedback loops
  • 4. • Break the feedback loops so that the next value stored in each loop can be predicted as a function of the circuit inputs and the current value stored in all loops. • Insert a fictional buffer whose output is Y • Y is the single state variable in this example • If current state Y and inputs C and D are known the next state Y* can be predicted
  • 5. Excitation equation Y* = (C D ) + (C D’ + Y’)’ Y* = C D + C’ Y + D Y • Now the state of the feedback loop can be written as a function of the current state and input Transition table • Each cell in the transition table shows the output of the fictional buffer after the corresponding state and input combination occurs
  • 6. • By definition, a fundamental–mode circuit does not have a clock to tell it when to sample its inputs. • Instead we can imagine that the circuit is evaluating its current state continuously • As a result of each evaluation, it goes into the next state predicted by the transition table • Most of the time, the next state is the same as the current state; this is the essence of the fundamental –mode operation
  • 7. Some definitions • Total state: combination of internal state (value of feedback loop) and input state (current input value) . • Stable total state: Total state whose next state predicted by the state table is the same as the current internal state. • Unstable total state: Total state whose next state predicted by the state table is different from the current internal state. State table State Input CD S 00 01 11 10 S0 S0 S0 S1 S0 S1 S1 S1 S1 S0 Next State S*
  • 8. • To complete the analysis, we must determine how the outputs behave as functions of the internal state and inputs. • There are two outputs and hence two equations Q = Y* = C D + C’ Y + D Y QN = C D’ + Y’ •Note that Q and QN are outputs, not state variables. •Even though the circuit has two outputs which can take up 4 combinations, it has only 1 state variable Y, and hence only 2 states •The output values can be incorporated in a combined state/output table which completely describes the circuit
  • 9. State output table •Although Q and QN are normally complimentary, it is possible for them to have the same value momentarily •They have the value 1 momentarily during the transition from S0 to S1 under the input combination CD = 11 •The behavior of the circuit can be predicted from this state output table
  • 10. Analysis for few transitions • Start with stable total state “S0/00” ( S = S0 and CD = 00) • 1 bit changes at a time • Change D to 1 • Change C to 1
  • 11. Multiple input changes • Start with stable total state “S1/11” • C and D are both simultaneously set to 0 • Almost simultaneous input changes occur in practice • May change in different orders • -suppose C changes first, final is S1/00 • -suppose D changes first, final is S0/00 • Unpredictable final state, feedback loop may become metastable
  • 12. Multiple input changes • Start with stable total state “S0/00” • C and D are both simultaneously set to 1 • Almost simultaneous input changes occur in practice • May change in different orders • -suppose C changes first, final is S1/11 • -suppose D changes first, final is S1/11 • Simultaneous input changes don’t always cause unpredictable behavior.
  • 13. Analyzing Circuits with Multiple Feedback Loops • Break each loop and insert buffers • Many possible ways – cut sets • Best? Minimal cut set • Different minimal cut sets • Different excitation equations, transition tables and state/output tables • However, stable total states derived from one set should correspond one-to-one to the stable total states from the other • State/Output table should give the same input/output behavior, with only the names and coding of the states changed • Even if non minimal cut sets are used the resulting state/output table will still describe the circuit correctly but using more states
  • 14. Analyzing Circuits with Multiple Feedback Loops • A good example is the commercial circuit design for a positive edge triggered TTL D flip-flop • The circuit is simplified assuming that the Preset and Clear inputs are never asserted and showing the fictional buffers to break the 3 feedback loops
  • 15. Simplified Positive Edge triggered D flip-flop for analysis (Y2·D)+(Y1·C) Y1* {[(Y2·D)+(Y1·C)+C‘]·Y3}+(Y1·C) Y1 (Y1·C)' Y3* (Y2·D)+(Y1·C)+C' Y3 Y2* Y2 {[(Y2·D)+(Y1·C)+C‘]·Y3}' (Y2·D)' Y1* = (Y2·D)+(Y1·C) Y2* = (Y2·D)+(Y1·C)+C' = (Y2·D)+(Y1)+C' Y3* = {[(Y2·D)+(Y1·C)+C']·Y3}+(Y1·C) = {[(Y2·D)+(Y1)+C']·Y3}+(Y1·C) = (Y2·Y3·D)+(Y1·Y3)+(C‘·Y3)+(Y1·C)
  • 16. Simplified Positive Edge triggered D flip-flop for analysis (Y2·D)+(Y1·C) Y1* {[(Y2·D)+(Y1·C)+C‘]·Y3}+(Y1·C) Y1 (Y1·C)' Y3* (Y2·D)+(Y1·C)+C' Y3 Y2* Y2 {[(Y2·D)+(Y1·C)+C‘]·Y3}' Y2·D' Q = Y3* = (Y2·Y3·D)+(Y1·Y3)+(C‘·Y3)+(Y1·C) QN = {[(Y2·D)+(Y1·C)+C']·Y3}' = [(Y2·D)+(Y1)+C']'+Y3' = [(Y2·D)'· (Y1)'·C'']+Y3' = [(Y2'+D')·(Y1)'·C]+Y3' = (Y2'·Y1'·C) + (D'·Y1'·C)+Y3'
  • 18. Races • A race is said to occur when multiple internal variables change state as a result of a single input changing state. • Starting at state 011/00 change CLK to 1. • The next internal state is 000 • The state may change as 011→ 010→ 000 • Or as 011→ 001→ 000
  • 19. • Noncritical race: the final state does not depend on the order in which the state variables change. • Now modifying the next state entry for total state 010/10 to 110 instead of 000 • The state may change as 011→ 010→ 110 → 111 • Or as 011→ 001→ 000 • The next internal state could be111 or 000 • Critical race: the final state depends on the order in which the state variables change. 110
  • 20. State Tables • Once it has been determined that a transition table does not have any critical races, the state-variable combinations can be named and outputs can be determined to obtain a state/output table. • State table shows that it takes multiple hops to reach a new stable total state in some cases • S0/11→S2/01→S6/01
  • 21. Flow Tables Flow table eliminates: – Rows for unused internal states (states that are stable for no input combination). – Next state entries for total states that cannot be reached from a stable total state as the result of a single input change. • It eliminates multiple hops and shows only the ultimate destination of each transition.
  • 22. State Table to Flow table
  • 24. Edge triggered behavior • Assume internal state S0/10. • Change D to 1, then 0. • Change clock to 0. • Change D to 1, then 0. • What happens when clock changes to 1.