SlideShare a Scribd company logo
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.

More Related Content

What's hot

Frequency response(1)
Frequency response(1)Frequency response(1)
Frequency response(1)
Istanbul Technical University
 
EST 130, Bipolar Junction Transistors
EST 130, Bipolar Junction TransistorsEST 130, Bipolar Junction Transistors
EST 130, Bipolar Junction Transistors
CKSunith1
 
Power electronics question bank
Power electronics question bankPower electronics question bank
Power electronics question bankmcpriya04
 
Hybrid Parameter in BJT
Hybrid Parameter in BJTHybrid Parameter in BJT
Dee2034 chapter 5 counter
Dee2034 chapter 5 counterDee2034 chapter 5 counter
Dee2034 chapter 5 counter
SITI SABARIAH SALIHIN
 
2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...
2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...
2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...
MaryJacob24
 
Op amp
Op ampOp amp
Power Electronics - Power Semi – Conductor Devices
Power Electronics - Power Semi – Conductor DevicesPower Electronics - Power Semi – Conductor Devices
Power Electronics - Power Semi – Conductor Devices
Burdwan University
 
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERS
kumari36
 
12695 solid state m icrowave devices
12695 solid state m icrowave devices12695 solid state m icrowave devices
12695 solid state m icrowave devices
Mohit Vyas
 
Cascaded differential amplifier
Cascaded differential amplifierCascaded differential amplifier
Cascaded differential amplifier
Hasit Trivedi
 
Mosfet
MosfetMosfet
Mosfet
Umme habiba
 
Silicon Controlled Rectifier
Silicon Controlled Rectifier Silicon Controlled Rectifier
Silicon Controlled Rectifier
Nikhil Kumar
 
Hybrid Transistor Model with Two Port Network
Hybrid Transistor Model with Two Port NetworkHybrid Transistor Model with Two Port Network
Hybrid Transistor Model with Two Port Network
Ridwanul Hoque
 
Applications of op amps
Applications of op ampsApplications of op amps
Applications of op amps
SARITHA REDDY
 
DIFFERENTIAL AMPLIFIER using MOSFET
DIFFERENTIAL AMPLIFIER using MOSFETDIFFERENTIAL AMPLIFIER using MOSFET
DIFFERENTIAL AMPLIFIER using MOSFET
Praveen Kumar
 
L6_S18_Introduction to PLL.pptx
L6_S18_Introduction to PLL.pptxL6_S18_Introduction to PLL.pptx
L6_S18_Introduction to PLL.pptx
AryanKutemate
 

What's hot (20)

Frequency response(1)
Frequency response(1)Frequency response(1)
Frequency response(1)
 
EST 130, Bipolar Junction Transistors
EST 130, Bipolar Junction TransistorsEST 130, Bipolar Junction Transistors
EST 130, Bipolar Junction Transistors
 
Power electronics question bank
Power electronics question bankPower electronics question bank
Power electronics question bank
 
Hybrid Parameter in BJT
Hybrid Parameter in BJTHybrid Parameter in BJT
Hybrid Parameter in BJT
 
Dee2034 chapter 5 counter
Dee2034 chapter 5 counterDee2034 chapter 5 counter
Dee2034 chapter 5 counter
 
2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...
2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...
2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...
 
Op amp
Op ampOp amp
Op amp
 
Power Electronics - Power Semi – Conductor Devices
Power Electronics - Power Semi – Conductor DevicesPower Electronics - Power Semi – Conductor Devices
Power Electronics - Power Semi – Conductor Devices
 
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERS
 
12695 solid state m icrowave devices
12695 solid state m icrowave devices12695 solid state m icrowave devices
12695 solid state m icrowave devices
 
Cascaded differential amplifier
Cascaded differential amplifierCascaded differential amplifier
Cascaded differential amplifier
 
Mosfet
MosfetMosfet
Mosfet
 
Important questions
Important questionsImportant questions
Important questions
 
Silicon Controlled Rectifier
Silicon Controlled Rectifier Silicon Controlled Rectifier
Silicon Controlled Rectifier
 
Hybrid Transistor Model with Two Port Network
Hybrid Transistor Model with Two Port NetworkHybrid Transistor Model with Two Port Network
Hybrid Transistor Model with Two Port Network
 
Applications of op amps
Applications of op ampsApplications of op amps
Applications of op amps
 
DIFFERENTIAL AMPLIFIER using MOSFET
DIFFERENTIAL AMPLIFIER using MOSFETDIFFERENTIAL AMPLIFIER using MOSFET
DIFFERENTIAL AMPLIFIER using MOSFET
 
Power amplifiers
Power amplifiersPower amplifiers
Power amplifiers
 
JFET
JFETJFET
JFET
 
L6_S18_Introduction to PLL.pptx
L6_S18_Introduction to PLL.pptxL6_S18_Introduction to PLL.pptx
L6_S18_Introduction to PLL.pptx
 

Viewers also liked

Designing State Machine
Designing State MachineDesigning State Machine
Designing State Machine
Abhilash Nair
 
Introduction to State Machines
Introduction to State MachinesIntroduction to State Machines
Introduction to State Machines
codeofficer
 
State Machine Design and Synthesis
State Machine Design and SynthesisState Machine Design and Synthesis
State Machine Design and Synthesis
Abhilash Nair
 
Designing Clocked Synchronous State Machine
Designing Clocked Synchronous State MachineDesigning Clocked Synchronous State Machine
Designing Clocked Synchronous State Machine
Abhilash Nair
 
EPROM, PROM & ROM
EPROM, PROM & ROMEPROM, PROM & ROM
EPROM, PROM & ROM
Abhilash 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 design
Adarsh Patel
 

Viewers also liked (9)

Designing State Machine
Designing State MachineDesigning State Machine
Designing State Machine
 
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
 

Similar to 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.pptx
amudhak10
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptx
amudhak10
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptx
Thapar Institute
 
04 sequential circuits
04 sequential circuits04 sequential circuits
04 sequential circuits
xyxz
 
ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5ANALOG AND DIGITAL ELECTRONICS unit 5
ANALOG AND DIGITAL ELECTRONICS unit 5
ACE ENGINEERING COLLEGE
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
Brenda Debra
 
Asynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 pptAsynchronous Sequential Circuit-Unit 4 ppt
Asynchronous Sequential Circuit-Unit 4 ppt
SIVALAKSHMIPANNEERSE
 
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
UtsavDas21
 
flip flop 13.ppt
flip flop 13.pptflip flop 13.ppt
flip flop 13.ppt
SivaranjaniN6
 
Lecture 3
Lecture 3Lecture 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
bagotjesusa
 
unit3.ppt
unit3.pptunit3.ppt
unit3.ppt
priyadarsini47
 
digital-electronics_7.pdf
digital-electronics_7.pdfdigital-electronics_7.pdf
digital-electronics_7.pdf
sarala9
 
Lec9
Lec9Lec9
Introduction state machine
Introduction state machineIntroduction state machine
Introduction state machine
Shreyans Pathak
 
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 Circuit
Heman 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.pptx
Saini71
 

Similar to 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
 
Introduction state machine
Introduction state machineIntroduction state machine
Introduction state machine
 
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
 

More from Abhilash Nair

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

More from 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
 

Recently uploaded

MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
NelTorrente
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
AG2 Design
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
christianmathematics
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
kitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptxkitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptx
datarid22
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Ashish Kohli
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 

Recently uploaded (20)

MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
What is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptxWhat is the purpose of studying mathematics.pptx
What is the purpose of studying mathematics.pptx
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
kitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptxkitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 

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.