CMSC 2833 Lecture 25

Similar documents
SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

Memory Elements. Combinational logic cannot remember

Engr354: Digital Logic Circuits

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

Lecture 8: Synchronous Digital Systems

Lesson 12 Sequential Circuits: Flip-Flops

BINARY CODED DECIMAL: B.C.D.

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

ECE380 Digital Logic

Counters and Decoders

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Theory of Logic Circuits. Laboratory manual. Exercise 3

Module 3: Floyd, Digital Fundamental

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

Chapter 8. Sequential Circuits for Registers and Counters

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

CHAPTER 11 LATCHES AND FLIP-FLOPS

Decimal Number (base 10) Binary Number (base 2)

Sequential Logic Design Principles.Latches and Flip-Flops

CHAPTER 3 Boolean Algebra and Digital Logic

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

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

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Asynchronous Counters. Asynchronous Counters

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Chapter 9 Latches, Flip-Flops, and Timers

Digital Logic Design Sequential circuits

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

The components. E3: Digital electronics. Goals:

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design

Design: a mod-8 Counter

Combinational Logic Design Process

Flip-Flops, Registers, Counters, and a Simple Processor

CHAPTER 11: Flip Flops

Master/Slave Flip Flops

ENEE 244 (01**). Spring Homework 5. Due back in class on Friday, April 28.

Lecture-3 MEMORY: Development of Memory:

Counters & Shift Registers Chapter 8 of R.P Jain

7. Latches and Flip-Flops

Chapter 5. Sequential Logic

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

Chapter 2 Logic Gates and Introduction to Computer Architecture

Sequential Logic: Clocks, Registers, etc.

Upon completion of unit 1.1, students will be able to

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

CSE140: Components and Design Techniques for Digital Systems

EXPERIMENT 8. Flip-Flops and Sequential Circuits

CS311 Lecture: Sequential Circuits

LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

Gates, Circuits, and Boolean Algebra

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

ASYNCHRONOUS COUNTERS

DEPARTMENT OF INFORMATION TECHNLOGY

Digital Logic Elements, Clock, and Memory Elements

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Modeling Latches and Flip-flops

Layout of Multiple Cells

Registers & Counters

DM74LS112A Dual Negative-Edge-Triggered Master-Slave J-K Flip-Flop with Preset, Clear, and Complementary Outputs

Operating Manual Ver.1.1

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Counters. Present State Next State A B A B

Digital Electronics Detailed Outline

Chapter 7 Memory and Programmable Logic

Contents COUNTER. Unit III- Counters

CHAPTER IX REGISTER BLOCKS COUNTERS, SHIFT, AND ROTATE REGISTERS

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

CHAPTER 16 MEMORY CIRCUITS

Fig1-1 2-bit asynchronous counter

Fundamentals of Digital Electronics

IE1204 Digital Design F12: Asynchronous Sequential Circuits (Part 1)

Lab 1: Study of Gates & Flip-flops

Digital Fundamentals

ENGI 241 Experiment 5 Basic Logic Gates

Systems I: Computer Organization and Architecture

Electronics Merit Badge Class 3. 1/30/2014 Electronics Merit Badge Class 3 1

Counters are sequential circuits which "count" through a specific state sequence.

Advanced Logic Design Techniques in Asynchronous Sequential Circuit Synthesis

Copyright Peter R. Rony All rights reserved.

Chapter 7. Registers & Register Transfers. J.J. Shann. J. J. Shann

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

Cascaded Counters. Page 1 BYU

List of Experiment. 8. To study and verify the BCD to Seven Segments DECODER.(IC-7447).

GETTING STARTED WITH PROGRAMMABLE LOGIC DEVICES, THE 16V8 AND 20V8

Set-Reset (SR) Latch

2.0 Chapter Overview. 2.1 Boolean Algebra

Introduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems

Asynchronous counters, except for the first block, work independently from a system clock.

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute. 2nd (Spring) term 2012/2013

Transcription:

.6. Basic Concepts A sequential circuit has memory whereas a combinational circuit has no memory. The output of a combinational circuit is the direct result of inputs to the circuit. A combinational circuit is independent of past inputs. Sequential circuits record previous results in flip-flops. A flip-flop stores a single bit and usually employed to store the previous state of the circuit..6. Clocks Figure.8 A Clock Signal Indicating Discrete Instances of Time State changes occur in sequential circuits only when the clock ticks. Circuits can change state on the rising edge, falling edge, or when the clock pulse reaches its highest voltage.

.6. Flip-Flops.6.. The Binary Cell (L) RE(L) Cross-coupled NAND Gate Cell RE RE + RE = + = = + = = + = = + = 4 = + = 5 = + = 6 = + = 7 = + = Retains state RE Don t Do (H) RE(H) Cross-coupled NOR Gate Cell

.6.. SR Flip-Flop S(H) (L) CLK(H) R(H) SR Flip-Flop RE(L) Present State Net State S R (t) (t + ) 4 5 6 7 Undefined SR Flip-Flop Characteristic Table Retains state RE Don t Do (t) (t + ) S R SR Flip-Flop Ecitation Table.6.. D Flip-Flop (t) (t + ) S R X X SR Flip-Flop Ecitation Table

D(H) (L) CLK(H) RE(L) D Flip-Flop Present State Net State D (t) (t + ) D Flip-Flop Characteristic Table RE (t) (t + ) D D Flip-Flop Ecitation Table 4

.6..4 JK Flip-Flop J(H) (L) CLK(H) K(H) RE(L) JK Flip-Flop Present State Net State J K (t) (t + ) 4 5 6 7 JK Flip-Flop Characteristic Table Retains state RE Toggle (t) (t + ) J K X X X X JK Flip-Flop Ecitation Table 5

.6..5 Flip-Flop Design. Create Characteristic Table.. Plot K-Maps for the Basic Cell.. Draw the Logic Diagram. 4. Complete the Ecitation Table. Eample: Design a clocked SR Flip-Flop Step. Augmented characteristic table m i S R n n+ RE Comment No Change Reset 4 5 Set 6 7 Prohibited Characteristic Table /RE Decoder Truth-Table n n+ RE -RE Cell Ecitation Table Step. Plot maps SR n SR n 6 4 6 4 7 5 7 5 = S Step. Draw Logic Diagram S RE = R CLK R RE Clocked SR Flip-Flop 6

Step 4. Complete Ecitation Table n n+ S R Comment No Change Reset Set Reset No Change Set Epanded SR Ecitation Table n n+ S R SR Ecitation Table S CK R SR Rising Edge-Triggered Flip-Flop 7

Eample: Design a clocked Reset-dominant SR Flip-Flop Step. Augment characteristic table m i S R n n+ RE Comment No Change Reset 4 5 Set 6 7 Reset Characteristic Table /RE Decoder Truth-Table Step. Plot maps SR n RE SR n 6 4 6 4 7 5 7 5 = SR Step. Draw Logic Diagram S RE = R CLK R RE Reset Dominant SR Flip-Flop Step 4. Complete Ecitation Table n n+ S R Comment No Change Reset Reset Dominant Set Reset Reset Dominant No Change Set Epanded SR Ecitation Table 8

n n+ S R SR Ecitation Table Problems:. Design a -dominant clocked SR flip-flop. This flip-flop is to always leave the basic cell in a condition if S and R are asserted together. a. Define the characteristic table b. Design a NAND cell-centered flip-flop. c. Define the ecitation table d. Draw the schematic symbol. Design an RS flip-flop that will leave the basic cell unchanged in S and R are asserted together. a. Define the characteristic table b. Design a NAND cell-centered flip-flop. c. Define the ecitation table d. Draw the schematic symbol. Design a flip-flop specified by the characteristic table below. J K n n+ 4 5 6 7 a. Design a NAND cell-centered flip-flop. b. Define the ecitation table c. Draw the schematic symbol 9

.6..6 Flip-Flop Conversion. Create a combined characteristic table. Column labels on the characteristic table are assigned as follows... Put the inputs of the to-flip-flop leftmost. For eample, convert a RS Flip-Flop to a D-Latch Flip-Flop. D L.. Net, put n. Continuing our eample of converting a RS Flip-Flop to a D-Latch Flip- Flop. D L n.. Net, compute n+. Continuing our eample of converting a RS Flip-Flop to a D-Latch Flip-Flop. D L n n+.4. Net, put the inputs to the source (convert a) Flip-Flop. Continuing our eample of converting a RS Flip-Flop to a D-Latch Flip-Flop. D L n n+ R S.5. Net, find epressions for the inputs of the source (convert a) Flip-Flop. D D S D R DL

.6. Net, draw a logic diagram. D L S CLK C R Eample: Convert a D-Latch flip-flop to a T flip-flop.. Put the inputs of the to-flip-flop leftmost.. Net, put n. T. Net, compute n+. T n T n n+ 4. Net, put the inputs to the source (convert a) Flip-Flop. T n n+ D

5. Net, find epressions for the inputs of the source (convert a) Flip-Flop. n T D T D T T n n n

Null, Linda and Lobur, Julia Computer Organization and Architecture 4 th Ed., Jones & Bartlett Learning, 6, ISBN 978--84-456-, p. 97 58. A Mu-Not flip-flop (MN flip-flop) behaves as follows: If M =, the flip-flop complements the current state. If M =, the net state of the flip-flop is equal to the value of N. a) Derive the characteristic table for the flip-flop. Solution:. Copy an eisting characteristic table. Present State Net State S R (t) (t + ) Retains state RE 4 5 6 7 Undefined Don t Do SR Flip-Flop Characteristic Table. Erase values in the Net State column. Omit values in the m i column. Remove the title and comments. Change S to M and R to N. Present State Net State M N (t) (t + ). If M =, the flip-flop complements the current state. Present State Net State M N (t) (t + )

4. If M =, the net state of the flip-flop is equal to the value of N. Present State Net State M N (t) (t + ) MN Characteristic Table b) Show how a JK flip-flop can be converted to an MN flip-flop by adding gate(s) and an inverter(s). Solution:. Copy the MN Characteristic Table and append two columns to the right of the table. Label the columns J and K. Present State Net State M N (t) (t + ) J K MN Characteristic Table 4

. For each row in the augmented characteristic table, determine what values of J and K are needed to make the value of (t) change to the corresponding value of (t + ). The JK Flip-Flop Ecitation Table is employed to find the required values of J and K. Present State Net State M N (t) (t + ) J K X X X X X X X X MN Characteristic Table. Plot values for J and K. (t) (t + ) J K X X X X JK Flip-Flop Ecitation Table J K MN 6 4 MN 6 4 7 5 7 5 J = M + N K = M + N 5

4. Draw the logic diagram. M N J CK K 6