Slide 1. Flip-Flops. Cross-NOR SR flip-flop S R Q Q. hold reset set not used. Cross-NAND SR flip-flop S R Q Q. not used reset set hold 1 Q.

Similar documents
Counters

Counter dan Register

Asynchronous (Ripple) Counters

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

CHAPTER 6 COUNTERS & REGISTERS

Experiment 8 Introduction to Latches and Flip-Flops and registers

RS flip-flop using NOR gate

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

RS flip-flop using NOR gate

ASYNCHRONOUS COUNTER CIRCUITS

Other Flip-Flops. Lecture 27 1

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

LATCHES & FLIP-FLOP. Chapter 7

Review of digital electronics. Storage units Sequential circuits Counters Shifters

Decade Counters Mod-5 counter: Decade Counter:

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Lecture 8: Sequential Logic

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP

Introduction. Serial In - Serial Out Shift Registers (SISO)

EE292: Fundamentals of ECE

D Latch (Transparent Latch)

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers

Sequential Digital Design. Laboratory Manual. Experiment #7. Counters

Digital Logic Design ENEE x. Lecture 19

DIGITAL ELECTRONICS MCQs

Digital Circuit And Logic Design I. Lecture 8

Digital Circuit And Logic Design I

Chapter 4. Logic Design

Asynchronous Counter

Serial In/Serial Left/Serial Out Operation

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

Unit 11. Latches and Flip-Flops

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

Digital Circuits 4: Sequential Circuits

3 Flip-Flops. The latch is a logic block that has 2 stable states (0) or (1). The RS latch can be forced to hold a 1 when the Set line is asserted.

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

EKT 121/4 ELEKTRONIK DIGIT 1

Logic Design. Flip Flops, Registers and Counters

Introduction to Sequential Circuits

Digital Fundamentals: A Systems Approach

Chapter 6 Digital Circuit 6-5 Department of Mechanical Engineering

ELE2120 Digital Circuits and Systems. Tutorial Note 8

CHAPTER 4: Logic Circuits

Synchronous Sequential Logic

PRE J. Figure 25.1a J-K flip-flop with Asynchronous Preset and Clear inputs

Sequential Logic Basics

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

DIGITAL CIRCUIT COMBINATORIAL LOGIC

CHAPTER 4: Logic Circuits

B. Sc. III Semester (Electronics) - ( ) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791)

Latches, Flip-Flops, and Registers. Dr. Ouiem Bchir

Chapter 8 Sequential Circuits

UNIT IV. Sequential circuit

MC9211 Computer Organization

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering

Chapter 7 Counters and Registers

IT T35 Digital system desigm y - ii /s - iii

Digital Fundamentals

Sequential Logic and Clocked Circuits

EKT 121/4 ELEKTRONIK DIGIT 1

ELCT201: DIGITAL LOGIC DESIGN

Rangkaian Sekuensial. Flip-flop

ELCT201: DIGITAL LOGIC DESIGN

Chapter. Synchronous Sequential Circuits

Vignana Bharathi Institute of Technology UNIT 4 DLD

ELECTRICAL ENGINEERING DEPARTMENT California Polytechnic State University

(Refer Slide Time: 2:00)

Sequential Logic Counters and Registers

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Logic Design Viva Question Bank Compiled By Channveer Patil

The NOR latch is similar to the NAND latch

LAB #4 SEQUENTIAL LOGIC CIRCUIT

CPS311 Lecture: Sequential Circuits

EET2411 DIGITAL ELECTRONICS

Digital Systems Laboratory 3 Counters & Registers Time 4 hours

Digital Fundamentals: A Systems Approach

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

2. Counter Stages or Bits output bits least significant bit (LSB) most significant bit (MSB) 3. Frequency Division 4. Asynchronous Counters

1. Convert the decimal number to binary, octal, and hexadecimal.

ECB DIGITAL ELECTRONICS PROJECT BASED LEARNING PROJECT REPORT ON 7 SEGMENT DIGITAL STOP WATCH USING DECODER

Clocks. Sequential Logic. A clock is a free-running signal with a cycle time.

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

Flip-Flops and Sequential Circuit Design

Module -5 Sequential Logic Design

Universal Asynchronous Receiver- Transmitter (UART)

COSC 243. Sequential Logic. COSC 243 (Computer Architecture) Lecture 5 - Sequential Logic 1

CHAPTER1: Digital Logic Circuits

CMSC 313 Preview Slides

5: Sequential Logic Latches & Flip-flops

Introduction to Microprocessor & Digital Logic

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

Sequential circuits. Same input can produce different output. Logic circuit. William Sandqvist

MODULE 3. Combinational & Sequential logic

Lecture 12. Amirali Baniasadi

FLIP-FLOPS AND RELATED DEVICES

Computer Organization & Architecture Lecture #5

Transcription:

Slide Flip-Flops Cross-NOR SR flip-flop Reset Set Cross-NAND SR flip-flop Reset Set S R reset set not used S R not used reset set 6.7 Digital ogic

Slide 2 Clocked evel-triggered NAND SR Flip-Flop S R SR inputs disabled reset SR inputs set enabled indeterminate R S NAND enable gates SR flip-flop 6.7 Digital ogic 2

Slide 3 Edge-Triggered SR Flip-Flops We can make the level triggered flip-flop more flexible (in terms of timing control) by turning it into an edge-triggered flip-flop. An edge-triggered flip-flop only samples the inputs during either a positive or negative clock edge. This conversion can be done by taking the clock signal and running it through a level-triggered, pulse generator network and taking the corresponding output as the clock signal. Positive edge-triggered delay gate Y Z Negative edge-triggered delay gate Z Y Y Z Y 6.7 Digital ogic Z 3

Slide 4 evel and Edge Triggered Flip-Flop Symbols no triangle means level-triggered triangle means edge-triggered S R no bubbles means active- IG input S R S R bubble next to triangle means negative edge-triggered input inverted output (complement) S R edge-triggered S R S R 6.7 Digital ogic 4 no bubble next to triangle means positive edge-triggered input

Slide 5 D-Type Flip-Flops Basic D-type flip-flop or latch D (data) S D Reset Set D R SR flip-flop logic symbol D NAND made into an inverter 6.7 Digital ogic 5

Slide 6 Divide by Two Circuit Note: Edge Detector D D At clock pulse edge, goes to D So every time there is a clock pulse, is set to the old value of D. Therefore, changes (as does D) but by the time D changes, the edge is past. 6.7 Digital ogic 6

Slide 7 Stop-Go Indicator D D D green 3Ω red ED 3Ω green ED red 6.7 Digital ogic 7

Slide 8 Divide-by-Two Counter In D In/2 D = 6.7 Digital ogic 8

Slide 9 Synchronizer A stop start D B A D B oldold Set Set Reset 6.7 Digital ogic 9

Slide Synchronizer 2 We see timing is important, so we want to synchronize signals. On/Off D out clock edge D clock off on off ined up with clock, but not result of pulse. 6.7 Digital ogic

Slide J Flip-Flops J Clock (C) pulse generator Z Positive edge-trigger positive edge-trigger negative edge-trigger C 6.7 Digital ogic J J C Negative edge-trigger

Slide 2 J Flip-Flops 2 R S R in is (,) output is high; S in is (,) output is high. all outputs are high. The problem is that you can not this condition. The input, can only outputs of (,) or (,). 6.7 Digital ogic 2

Slide 3 Positive edge-trigger C J Reset Set Toggle J Flip-Flops 3 Negative edge-trigger C J Reset Set Toggle 6.7 Digital ogic 3

Slide 4 J Flip-Flop with Preset and Clear CR J 6.7 Digital ogic 4

Slide 5 J Flip-Flop with Preset and Clear (Negative Edge-Triggered) CR J J C CR, Preset Clear not used Reset Set Toggle = state of before IG-to-OW edge of clock. 6.7 Digital ogic 5

Slide 6 J Flip-Flop with Preset and Clear (Positive Edge-Triggered) CR J J C CR, Preset Clear not used Reset Set Toggle = state of before OW-to-IG edge of clock. 6.7 Digital ogic 6

Slide 7 MOD-6 Ripple Counter/divide-by-2,4,8,6 Counter +5V J CR J CR J CR J CR CR divide-by-2 divide-by-4 divide-by-8 divide-by-6 CR 2 3 2 3 4 2 3 (SB) (MSB) 5 6 6.7 Digital ogic 7 7 8 9 2 3 4 5

Slide 8 MOD-6 Ripple Counter 2 +5V J J J J CR CR CR CR CR 2 3 This circuit will count to up to 5 and then will disable (all bits = ). Note: If one uses the s as the counting bits instead of the s, the Counter will count down from 5 and disable when is reached. 6.7 Digital ogic 8

Slide 9 MOD-6 Synchronous Counter +5V J J J J CR CR CR CR CR divide-by-2 divide-by-4 divide-by-8 divide-by-6 CR 2 3 2 (SB) 3 4 2 (MSB) 3 5 6 6.7 Digital ogic 9 7 8 9 2 3 4 5

Slide 2 4-Bit Counter IC The 7493 s internal structure consists of four J flip-flops connected to provide separate MOD-2 and MOD-8 sections. Both of these are clocked by separate clock inputs. The MOD-2 uses C p as its clock input while MOD-8 uses C p. 4 C p C p 2 3 7493 MR 2 2 3 2 9 8 MR MR 2 2 3 count count count 6.7 Digital ogic 2

Slide 2 6.7 Digital ogic 2 7493 Presettable 4-bit Binary Up/Down Counter CP U CP D MR P D D D 2 D 3 2 3 TC U TC D 5 9 4 3 2 6 7 5 4 2 3 MR P C pu C pd D D D 2 D 3 2 3 TC U TC D Count up Count down Reset Parallel load count up count down Inputs Outputs = IG voltage level; = OW voltage level; = don t care; = OW-to-IG voltage transition

Slide 22 Block Diagrams of Various Shift Registers Serial in / Serial out: Serial in Serial out Parallel in / Serial out: Parallel in Serial out Serial in / Parallel out: Serial in Parallel out 6.7 Digital ogic 22

Slide 23 Creating Devices t on t off t on Some device creating power - There are two modes for destruction.) Short term t on is too long. Instantaneous heat load too high. Assume no heat dissipation during t on. 2.) long term - duty cycle t on /t off too high. Test for 2 conditions t on <t max t on /t off < duty cycle n-bits MSB SB overflow counter zero? up down reset clock-t c period If overflow trigger relay ON t c 2 n =t max If zero disable, clock until clock/n next edge of ON ON 6.7 Digital ogic ON 23

Slide 24 Problem Explain why mon-stable is not so useful. Solve problem using: x 555 - clock flip/flops, simple logic x up/down counter borrow carry clear 6.7 Digital ogic 24

Slide 25 4-bit Serial in/serial out Shift Registers Serial in Shift Right Serial out Serial Input D 3 3 f-f D 2 2 f-f D f-f D f-f Serial Output clock Serial out Shift eft Serial in Serial Output D f-f D f-f D 2 2 f-f 2 D 3 3 f-f 3 Serial Input clock 6.7 Digital ogic 25

Slide 26 Parallel-to-Serial Shift Register SIFT/OAD SIFT OAD D D D 2 D 3 inhibit D f-f D f-f D 2 2 f-f 2 D 3 3 f-f 3 Serial output Clock Clock inhibit SIFT/OAD D D D 2 D 3 Serial out Inhibit Serial Shift 6.7 Digital ogic 26

Slide 27 J Parallel-to-Serial Shift Register oad/shift D D 2 D 3 D J J J J Serial output clock 6.7 Digital ogic 27

Slide 28 8-Bit Serial-to-Parallel Data Converter +5V Serial data input clock 9 MR 2 D Sb D Sa 4 V CC 8 2 3 4 5 6 7 3 4 5 6 2 3 3 4 7 8 3 4 7 8 2 D D D 2 D 3 D 4 D 5 D 6 D 7 2 3 4 5 6 7 2 5 6 9 2 5 6 9 8-bit Parallel word GND 7 Divide-by-8 counter GND Octal D-type Flip-flop 6.7 Digital ogic 28

Slide 29 8-Bit Parallel-to-Serial Interface +5V Parallel in ASCII & Parallel load Clock enable clock 2 3 4 3 4 5 6 D D D 2 D 3 D 4 D 5 D 6 D 7 P 5 CE 2 6 V CC 7 7 SB comes out first 9 7 Serial Device DS GND 8 6.7 Digital ogic 29