Systems Flipflops Shankar Balachandran* Associate Professor, CSE - - PowerPoint PPT Presentation

systems
SMART_READER_LITE
LIVE PREVIEW

Systems Flipflops Shankar Balachandran* Associate Professor, CSE - - PowerPoint PPT Presentation

Spring 2015 Week 4 Module 20 Digital Circuits and Systems Flipflops Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras *Currently a Visiting Professor at IIT Bombay D Flip-flop The D latch


slide-1
SLIDE 1

Shankar Balachandran* Associate Professor, CSE Department Indian Institute of Technology Madras

*Currently a Visiting Professor at IIT Bombay

Digital Circuits and Systems

Spring 2015 Week 4 Module 20

Flipflops

slide-2
SLIDE 2

Flipflops 2

D Flip-flop

 The D latch has a shortcoming – the inputs should not

change while the gate signal is asserted (otherwise there are multiple asynchronous state changes which can lead to problems in a circuit).

 One solution is to design the circuit so that state changes

  • ccur during clock edges rather than during clock levels –

this type of device is called edge-triggered (i.e., flip-flop).

slide-3
SLIDE 3

Flipflops 3

Edge-Triggering: Master-Slave D FF

slide-4
SLIDE 4

Flipflops 4

Master-Slave Timing Diagram

 Example: When CLK is high, output of master is allowed to change

with D; when CLK is low (falling edge), the output of the master is fixed and propagated through to the output of the slave  this flip- flop triggers on falling or negative edge. CLK D Q* Q* 1 1 1

Characteristic Table

slide-5
SLIDE 5

Flipflops 5

Summary: Level vs Edge Triggering

CLK D QA QB QC QA QB QC D Q Q

CLK

D Q Q

Λ

D Q Q

Λ

CLK D

A: Latch B: +ve Edge trigerred DFF C: -ve Edge trigerred DFF

slide-6
SLIDE 6

Flip Flop with Preset and Clear

Flipflops 6

PRESET_n CLEAR_n

PRESET_n CLEAR_n

slide-7
SLIDE 7

D-Flip Flop With Synchronous Clear

Flipflops 7

slide-8
SLIDE 8

T-Flip Flop

Flipflops 8

 A T flip-flop changes state on every clock if it is enabled

(T=“1”). It can be implemented by connecting together the J and K inputs of a JK flip-flop.

slide-9
SLIDE 9

End of Week 4: Module 20

Thank You

Flipflops 9