CHAPTER 12 REGISTERS AND COUNTERS

Slides:



Advertisements
Similar presentations
©2004 Brooks/Cole FIGURES FOR CHAPTER 12 REGISTERS AND COUNTERS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
Advertisements

Appendix A Logic Circuits. Logic circuits Operate on binary variables that assume one of two distinct values, usually called 0 and 1 Implement functions.
Nonlinear & Neural Networks LAB. CHAPTER 11 LATCHES AND FLIP-FLOPS 11.1Introduction 11.2Set-Reset Latch 11.3Gated D Latch 11.4Edge-Triggered D Flip-Flop.
Sequential Circuits A Basic sequential circuit is nothing but a combinational circuit with some feedback paths between its output and input terminals.
Nonlinear & Neural Networks LAB. CHAPTER 19 State Machine Design with SM charts 19.1 State Machine Charts 19.2 Derivation of SM Charts 19.3 Realization.
Nonlinear & Neural Networks LAB. CHAPTER 13 Analysis of Clocked Sequential Circuit 13.1 A Sequential Parity Checker 13.2 Analysis by Signal Tracing 13.3.
ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
ECE 331 – Digital System Design Introduction to and Analysis of Sequential Logic Circuits (Lecture #20) The slides included herein were taken from the.
Registers and Counters
Logic and Computer Design Fundamentals Registers and Counters
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
ECE 331 – Digital System Design Counters (Lecture #19) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,
Digital Logic Design Lecture 24. Announcements Homework 8 due today Exam 3 on Tuesday, 11/25. – Topics for exam are up on the course webpage.
Chapter 7 -- Modular Sequential Logic. Serial-in, Serial-out Shift Register.
A.Abhari CPS2131 Registers A register is a group of n flip-flops each of them capable of storing one bit of information There are two types of registers:
Registers and Counters
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Sequential Circuit  It is a type of logic circuit whose output depends not only on the present value of its input signals but on the past history of its.
CHAPTER 3 Counters.  One of the common requirement in digital circuits/system is counting, both direction (forward and backward)  Digital clocks and.
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Registers and Counters
Chapter 1_4 Part II Counters
Flip-Flop Applications Registers.  a register is a collection of flip-flops  basic function is to hold information  a shift register is a register.
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
©2004 Brooks/Cole FIGURES FOR CHAPTER 18 CIRCUITS FOR ARITHMETIC OPERATIONS Click the mouse to move to the next page. Use the ESC key to exit this chapter.
Mid3 Revision Prof. Sin-Min Lee. 2 Counters 3 Figure 9--1 A 2-bit asynchronous binary counter. Asynchronous Counter Operation.
Registers and Counters
ETE Digital Electronics
ECE 301 – Digital Electronics Flip-Flops and Registers (Lecture #15)
EE24C Digital Electronics Projects
CHAPTER 14 Digital Systems.
Spencer/Ghausi, Introduction to Electronic Circuit Design, 1e, ©2003, Pearson Education, Inc. Chapter 14, slide 1 Introduction to Electronic Circuit Design.
Registers(暫存器)與Counters(計數器):
Rabie A. Ramadan Lecture 3
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
Princess Sumaya Univ. Computer Engineering Dept. Chapter 6:
Department of Communication Engineering, NCTU 1 Unit 2 Reviews on Logic Elements.
BZUPAGES.COM1 Chapter 9 Counters. BZUPAGES.COM2 BzuPages.COM Please share your assignments/lectures & Presentation Slides on bzupages which can help your.
CHAPTER 3 Counters.  One of the common requirement in digital circuits/system is counting, both direction (forward and backward)  Digital clocks and.
7-6 단일 레지스터에서 Microoperation Multiplexer-Based Transfer  Register 가 서로 다른 시간에 둘 이상의 source 에서 data 를 받을 경우 If (K1=1) then (R0 ←R1) else if (K2=1) then.
Registers and Counters Chapter 6. Digital Circuits 2 Clocked sequential circuits a group of flip-flops and combinational gates connected to form a feedback.
Chap 5. Registers and Counters. Chap Definition of Register and Counter l a clocked sequential circuit o consist of a group of flip-flops & combinational.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 7 – Registers and Register Transfers Part.
CHAPTER 6 Sequential Circuits’ Analysis CHAPTER 6 Sequential Circuits’ Analysis Sichuan University Software College.
Counters and Registers Synchronous Counters. 7-7 Synchronous Down and Up/Down Counters  In the previous lecture, we’ve learned how synchronous counters.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
Synchronous Counter Design
Chapter 8 Solving Larger Sequential Problems.
Chap 5. Registers and Counters
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
FIGURES FOR CHAPTER 16 SEQUENTIAL CIRCUIT DESIGN
CHAPTER 14 Digital Systems. Figure 14.1 RS flip-flop symbol and truth table Figure
CHAPTER 11 LATCHES AND FLIP-FLOPS This chapter in the book includes: Objectives Study Guide 11.1Introduction 11.2Set-Reset Latch 11.3Gated D Latch 11.4Edge-Triggered.
1 CS 352 Introduction to Logic Design Lecture 6 Ahmed Ezzat Latches, Flip/Flops, Registers, and Counters Ch-11 + Ch-12.
1 CHAPTER 12 REGISTERS AND COUNTERS This chapter in the book includes: Objectives Study Guide 12.1Registers and Register Transfers 12.2Shift Registers.
Chapter 35 Sequential Logic Circuits. Objectives After completing this chapter, you will be able to: –Describe the function of a flip-flop –Identify the.
CHAPTER 16 SEQUENTIAL CIRCUIT DESIGN
Lecture 11 Registers and Counters
EKT 124 / 3 DIGITAL ELEKTRONIC 1
FIGURE 6.1 Four‐bit register
Analysis of Clocked Sequential Circuit
Figure 12-13: Synchronous Binary Counter
SLIDES FOR CHAPTER 12 REGISTERS AND COUNTERS
29-Nov-18 Counters Chapter 5 (Sections ).
Instructor: Alexander Stoytchev
EET107/3 DIGITAL ELECTRONICS 1
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
14 Digital Systems.
Presentation transcript:

CHAPTER 12 REGISTERS AND COUNTERS 12.1 Registers and Register Transfers 12.2 Shift Registers 12.3 Design of Binary Counters 12.4 Counters for Other Sequences 12.5 Counter Design Using S-R and J-K Flip-Flops 12.6 Derivation of Flip-Flop Input Equations--Summary

Objectives Explain the operation of registers. Understand how to transfer data between registers using tri-state bus 2. Explain the shift register operation, how to build them and analyze operation. Construct a timing diagram for a shift register 3. Explain the operation of binary counters, how to build them using F/F and gates and analyze operation. 4. Given the present state and desired next state of F/F, determine the required F/F/ inputs 5. Given the desired counting sequence for a counter, derive F/F input equations. 6. Explain the procedures used for deriving F/F input equation. 7.Construct a timing diagram for a counter by tracing signals through the circuit.

12.1 Registers and Register Transfers 4-Bit D Flip-Flop Registers with Data, Load, Clear, and Clock inputs (Figure 12-1) Grouped together D F/F Using gated clock(a) F/F with clock enable Figure 12-1(b) Symbol for the 4-bit register using bus notation Figure 12-1(c )

12.1 Registers and Register Transfers Data Transfer Between Registers

12.1 Registers and Register Transfers Logic Diagram for 8-Bit Register with Tri-State Output

Data Transfer Using a Tri-State Bus

12.1 Registers and Register Transfers How data can be transferred? The operation can be summarized as follows:

12.1 Registers and Register Transfers Parallel Adder with Accumulator N-Bit Parallel Adder with Accumulator

12.1 Registers and Register Transfers Adder Cell with Multiplexer (Figure 12-6)

12-2 Shift Registers Right-Shift Register 01011010110101101011

12-2 Shift Registers 8-Bit Serial-in, Serial-out Shift Register

12-2 Shift Registers Typical Timing Diagram for Shift Register

12-2 Shift Registers Parallel-in, Parallel-Out Right Shift Register

12-2 Shift Registers Shift Register Operation (Table 12-1)

12-2 Shift Registers Timing Diagram for Shift Register

12-2 Shift Registers The Next-state equations for the F/F are

12-2 Shift Registers Shift Register with Inverted Feedback (Figure 12-12)  Johnson Counter A 3-bit shift register 12-12(a) Successive states 12-12(b)

12.3 Design of Binary Counters A binary counter using three T F/F to count clock pulses Synchronous Binary Counter (Figure 12-13) Counting sequence CBA: 000001010011100101110111000

12.3 Design of Binary Counters State Table for Binary Counter (Table 12-2)

12.3 Design of Binary Counters Karnaugh Map for Binary Counter (Figure 12-14) TA=1, TB=A, TC=AB

12.3 Design of Binary Counters Binary Counter with D Flip-Flops (Figure 12-15)

12.3 Design of Binary Counters The D input equations derived from the maps are Karnaugh Maps for D Flip-Flops (Figure 12-16)

12.3 Design of Binary Counters State Graph and Table for Up-Down counter (Figure 12-17) When U=1, Up counting When D=1, Down counting

12.3 Design of Binary Counters The up-down counter can be implemented using D F/F and gate Binary Up-Down Counter (Figure 12-18)

12.3 Design of Binary Counters The corresponding logic equations are When U=0 and D=1, these equations reduce to

12.3 Design of Binary Counters Loadable Counter with Count Enable (Figure 12-19) Loadable counter (Figure 12-19(a)) (b) Summarizes the counter operation (Figure 12-19(b))

12.3 Design of Binary Counters Circuit for Figure 12-19 (Figure 12-20)

12.3 Design of Binary Counters The next-state equations for the counter of Figure 12-20

12.4 Counters for Other Sequences The sequence of states of a counter is not in straight binary order. State Graph for Counter (Figure 12-21) State Table for Figure 21.21 (Table 12-3)

12.4 Counters for Other Sequences The next-state maps in Figure 12-22(a) are easily plotted from inspection of Table 12-3  Use T-F/F Figure 12-22

12.4 Counters for Other Sequences Input for T Flip-Flop (Table 12-4) Counter Using T Flip-Flops (Figure 12-23)

12.4 Counters for Other Sequences Timing Diagram for Figure 12-23 (Figure 12-24) State Graph for Counter (Figure 12-25)

12.4 Counters for Other Sequences Summary: 1.Form a state table which gives the next F/F states for each combination of present F/F states. 2.Plot the next-state maps from the table. 3.Plot a T input map for each F/F . 4.Find the T input equations from the maps and realize the circuit.

12.4 Counters for Other Sequences Counter Design Using D Flip-Flop Following equations can be read from Figure 12-22(a): Counter of Figure 12-21 Using D Flip-Flops (Figure 12-26)

12.5 Counter Design Using S-R and J-K Flip-Flops S-R Flip-Flop Inputs (Table 12-5) Inputs not allowed (a) (b) (c)

12.5 Counter Design Using S-R and J-K Flip-Flops With columns added for the S and R flip-flop inputs (Table 12-6)

12.5 Counter Design Using S-R and J-K Flip-Flops S-R Flip-Flop

12.5 Counter Design Using S-R and J-K Flip-Flops J-K Flip-Flop Inputs (Table 12-7) (c) (a) (b)

12.5 Counter Design Using S-R and J-K Flip-Flops With columns added for the J and K flip-flop inputs (Table 12-8)

12.6 Derivation of Flip-Flop Input Equations-Summary Counter of Figure 12-21 Using J-K Flip-Flops (Figure 12-28)

12.6 Derivation of Flip-Flop Input Equations-Summary Determination of Flip-Flop Input Equations from Next-State Equations Using Karnaugh Maps (Table 12-9)

12.6 Derivation of Flip-Flop Input Equations-Summary Example (illustrating the use of Table 12-9)

12.6 Derivation of Flip-Flop Input Equations-Summary Equations Using 4-Variable Maps (Figure 12-29)