Digital Fundamentals: A Systems Approach

Similar documents
Asynchronous (Ripple) Counters

Counter dan Register

ASYNCHRONOUS COUNTER CIRCUITS

Counters

EKT 121/4 ELEKTRONIK DIGIT 1

Review of digital electronics. Storage units Sequential circuits Counters Shifters

Figure 30.1a Timing diagram of the divide by 60 minutes/seconds counter

Universal Asynchronous Receiver- Transmitter (UART)

Sequential Logic Counters and Registers

Registers and Counters

Experiment 8 Introduction to Latches and Flip-Flops and registers

Digital Systems Laboratory 3 Counters & Registers Time 4 hours

RS flip-flop using NOR gate

CHAPTER 6 COUNTERS & REGISTERS

Registers and Counters

Counters. ENT 263 Digital Electronics

Chapter 7 Counters and Registers

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

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

EET2411 DIGITAL ELECTRONICS

Digital Logic Design ENEE x. Lecture 19

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

Chapter 3 Unit Combinational

Module -5 Sequential Logic Design

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

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

LATCHES & FLIP-FLOP. Chapter 7

Final Exam review: chapter 4 and 5. Supplement 3 and 4

MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL

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

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

Analysis of Sequential Circuits

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

Chapter 9 Counters. Clock Edge Output Q 2 Q 1 Q

Timing Pulses. Important element of laboratory electronics. Pulses can control logical sequences with precise timing.

UNIVERSITI TEKNOLOGI MALAYSIA

Scanned by CamScanner

RS flip-flop using NOR gate

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

Asynchronous Counter

Other Flip-Flops. Lecture 27 1

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS

Chapter 2. Digital Circuits

Decade Counters Mod-5 counter: Decade Counter:

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

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers

Digital Fundamentals: A Systems Approach

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

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

Logic Design. Flip Flops, Registers and Counters

Asynchronous counters

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

Agenda. EE 260: Introduction to Digital Design Counters and Registers. Asynchronous (Ripple) Counters. Asynchronous (Ripple) Counters

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

VU Mobile Powered by S NO Group

Lecture 8: Sequential Logic

Digital Logic Design I

Vignana Bharathi Institute of Technology UNIT 4 DLD

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

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited

LSN 12 Shift Registers

Computer Organization & Architecture Lecture #5

ECE 263 Digital Systems, Fall 2015

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

ELE2120 Digital Circuits and Systems. Tutorial Note 8

Register Transfer Level in Verilog: Part II

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

Chapter 6 Registers and Counters

Switching Theory And Logic Design UNIT-IV SEQUENTIAL LOGIC CIRCUITS

We are here. Assembly Language. Processors Arithmetic Logic Units. Finite State Machines. Circuits Gates. Transistors

Lecture 12. Amirali Baniasadi

Name: Date: Suggested Reading Chapter 7, Digital Systems, Principals and Applications; Tocci

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

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

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.

Sequential Logic. Analysis and Synthesis. Joseph Cavahagh Santa Clara University. r & Francis. TaylonSi Francis Group. , Boca.Raton London New York \

Chapter 4. Logic Design

SEMESTER ONE EXAMINATIONS 2002

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.

MC9211 Computer Organization

Chapter 9. Design of Counters

Dr. Shahram Shirani COE2DI4 Midterm Test #2 Nov 19, 2008

Logic Design II (17.342) Spring Lecture Outline

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

REPEAT EXAMINATIONS 2004 SOLUTIONS

CS T34-DIGITAL SYSTEM DESIGN Y2/S3

Flip-Flops and Related Devices. Wen-Hung Liao, Ph.D. 4/11/2001

DIGITAL FUNDAMENTALS

Logic Design II (17.342) Spring Lecture Outline

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 151) Pass Marks: 24

DIGITAL ELECTRONICS MCQs

More on Flip-Flops Digital Design and Computer Architecture: ARM Edition 2015 Chapter 3 <98> 98

Unit 11. Latches and Flip-Flops

Chapter 5 Synchronous Sequential Logic

Switching Circuits & Logic Design, Fall Final Examination (1/13/2012, 3:30pm~5:20pm)

Experiment # 9. Clock generator circuits & Counters. Digital Design LAB

Logic Design Viva Question Bank Compiled By Channveer Patil

QUICK GUIDE COMPUTER LOGICAL ORGANIZATION - OVERVIEW

Fig1-1 2-bit asynchronous counter

Transcription:

Digital Fundamentals: A Systems Approach Counters Chapter 8

A System: Digital Clock

Digital Clock: Counter Logic Diagram

Digital Clock: Hours Counter & Decoders

Finite State Machines Moore machine: One whose outputs depends only on its internal present state. Mealy machine: One whose outputs depends on both its internal present state and its inputs.

A Moore Machine The Moore machine (below) controls the number of tablets that go into each bottle. It counts out 25 tablets, then resets, stopping the clock until the next bottle is in place.

A Mealy Machine The Mealy machine (below) controls the number of tablets that go into bottles of various sizes. Its operation depends on the bottle size (external) and the number of tablets remaining in the count (internal).

A 2-bit Asynchronous Counter In an asynchronous counter, the clock is applied only to the first stage. Subsequent stages derive the clock from the previous stage. The 2-bit asynchronous counter shown is typical. It uses J-K flip-flops in the toggle mode.

A 2-bit Asynchronous Counter Timing Diagram Shown here is the timing diagram for the 2-bit asynchronous counter shown on the previous slide.

A 3-bit Asynchronous Counter

Propagation Delay Asynchronous counters are sometimes called ripple counters, because the stages do not all change together. For certain applications requiring high clock rates, this is a major disadvantage. Note how the delays are cumulative as each stage in a counter is clocked later than the previous stage.

Asynchronous Decade Counter This counter uses partial decoding to recycle the count sequence to zero after the 1001 state. The flip-flops are trailingedge triggered, so clocks are derived from the Q outputs. Other truncated sequences can be obtained using a similar technique.

Asynchronous Decade Counter Timing Diagram This is the timing diagram for the counter in the previous slide. When Q 1 and Q 3 are HIGH together, the counter is cleared by a glitch on the CLR line.

A 2-bit Synchronous Counter All of the flip-flops in a synchronous counter are clocked together with a common clock pulse. Synchronous counters overcome the disadvantage of accumulated propagation delays, but generally they require more circuitry to control states changes. This 2-bit binary synchronous counter has the same count sequence as the 3-bit asynchronous counter shown previously.

2-bit Synchronous Counter Timing Diagrams The timing diagrams (below) are for the 2-bit synchronous counter shown on the previous slide.

A 3-bit Synchronous Binary Counter The 3-bit binary counter has an AND gate, unlike the 2-bit counter just described. The output from the AND gate provides the J and K inputs to FF2.

A 4-bit Synchronous Binary Counter

A BCD Decade Counter The circuit shown is a 4-bit BCD decade counter. After reaching the count 1001, the counter recycles to 0000.

BCD Decade Counter Waveforms The timing diagram (below) is for the BCD decade counter shown on the previous slide.

Parallel-to-Serial Conversion (Multiplexing)

Up/Down Synchronous Counters An up/down counter is capable of progressing in either direction depending on a control input.

Cascaded Counters Counters can be cascaded to produce various divide-by (or modulus) values. In this case, a modulus-4 counter is cascaded with a modulus-8 counter. The resulting counter modulus equals the product of the two counters: Modulus 32.

Frequency Division Using A Modulus-100 Counter The circuit below contains two cascaded Modulus-10 counters; forming a Modulus-100 counter. The output frequency from the circuit is 1 one-hundredth of the input frequency ( f in / 100 ).

Counter Decoding Decoding is the detection of a binary number and can be done with an AND gate. The output from the AND gate in the circuit shown goes high when the counter output equals six (110).

VHDL for a 4-bit Synchronous Binary Counter

Verilog for a 4-bit Synchronous Binary Counter

VHDL for a Synchronous Decade Counter

Verilog for a Synchronous Decade Counter

Asynchronous Modulus Synchronous Key Terms Not occurring at the same time. The number of unique states through which a counter will sequence. Occurring at the same time. Terminal count State machine Cascade The final state in a counter s sequence. A logic system exhibiting a sequence of states or values. To connect end-to-end as when several counters are connected from the terminal count output of one to the enable input of the next counter.