Registers and Register Transfers

Slides:



Advertisements
Similar presentations
Lecture 23: Registers and Counters (2)
Advertisements

Registers and Counters
CENG 241 Digital Design 1 Lecture 11
Counters Chapter 17 Subject: Digital System Year: 2009.
RIPPLE COUNTERS A register that goes through a prescribed sequence of states upon the application of input pulses is called a counter. The input pulses.
Registers and Counters
ENGIN112 L27: Counters November 5, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 27 Counters.
CS370 Counters. Overview °Counter: A register that goes through a prescribed series of states °Counters are important components in computers. °Counters.
Sequential Circuit Introduction to Counter
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
Counters  A counter is a device which stores (and sometimes displays) the number of times a particular event or process has occurred, often in relationship.
Registers and Counters
Chapter 1_4 Part II Counters
EE345: Introduction to Microcontrollers Register and Counters Prof. Ahmad Abu-El-Haija.
Registers and Counters
ECE 301 – Digital Electronics Counters (Lecture #16)
CSI-2111 Computer Architecture Ipage Sequential circuits, 2nd part v Objectives: To recognize and know to use the principal types of sequential.
Rabie A. Ramadan Lecture 3
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
Registers and Counters by Dr. Amin Danial Asham. References  Digital Design 5 th Edition, Morris Mano.
Digital Design Lectures 11 & 12 Shift Registers and Counters.
7-6 단일 레지스터에서 Microoperation Multiplexer-Based Transfer  Register 가 서로 다른 시간에 둘 이상의 source 에서 data 를 받을 경우 If (K1=1) then (R0 ←R1) else if (K2=1) then.
ENG241 Digital Design Week #8 Registers and Counters.
Registers and Counters Chapter 6. Digital Circuits 2 Clocked sequential circuits a group of flip-flops and combinational gates connected to form a feedback.
Chapter 1_4 Part III more on … Counters Chapter 1_4 Part III more on … Counters.
Chapter 1 Counters. Counters Counters are sequential circuits which "count” through a specific state sequence. They can count up, count down, or count.
Digital Logic Design.
Sequential logic circuits
Registers and Counters
Counters and Registers Synchronous Counters. 7-7 Synchronous Down and Up/Down Counters  In the previous lecture, we’ve learned how synchronous counters.
Digital Electronics.
COUNTERS Why do we need counters?
Counters.
Basic Counters: Part I Section 7-6 (pp ).
DIGITAL COMPONENTS. MULTIPLEXERS A multiplexer is a combinational circuit that receives binary information from one of 2 n input data lines and directs.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
Logic Design (CE1111 ) Lecture 6 (Chapter 6) Registers &Counters Prepared by Dr. Lamiaa Elshenawy 1.
1 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: parallel and.
Digital Design: With an Introduction to the Verilog HDL, 5e M. Morris Mano Michael D. Ciletti Copyright ©2013 by Pearson Education, Inc. All rights reserved.
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
Registers and Counters
EKT 221 – Counters.
Asynchronous Counters
EKT 221 : Digital 2 COUNTERS.
Sequential Logic Counters and Registers
SLIDES FOR CHAPTER 12 REGISTERS AND COUNTERS
Sequential Circuit: Counter
DR S. & S.S. GHANDHY ENGINEENRING COLLEGE
Copyright Joanne DeGroat, ECE, OSU
Presented by Ali Maleki Spring Semester, 2009
Digital System Design Review.
Registers and Counters
Registers and Counters Register : A Group of Flip-Flops. N-Bit Register has N flip-flops. Each flip-flop stores 1-Bit Information. So N-Bit Register Stores.
COE 202: Digital Logic Design Sequential Circuits Part 4
29-Nov-18 Counters Chapter 5 (Sections ).
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Registers and Register Transfers
Computer Architecture and Organization: L02: Logic design Review
CHAPTER 4 COUNTER.
Switching Theory and Logic Design Chapter 5:
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
14 Digital Systems.
Outline Registers Counters 5/11/2019.
Reference Chapter 7 Moris Mano 4th Edition
Digital Electronics and Logic Design
Presentation transcript:

Registers and Register Transfers Counters Reference Chapter 7 Registers and Register Transfers Moris Mano 4th Edition

Counter A register that goes through a prescribed sequence of distinct states upon the application of a sequence of input pulses Input pulses may be Clock pulses Originate from some other source May occur at regular or irregular interval of time

Binary Counter Counter that follows the binary number sequence is called binary counter An n-bit binary counter consists of n flip-flops and can count in binary from 0 through 2n-1

Types of Counters Asynchronous Counters Synchronous Counters In which C input of some of the flip-flops are triggered not by common pulse but rather by the transitions that occur on other flip-flop outputs e.g. Ripple counters Synchronous Counters In which the C inputs of all flip-flops receive common pulse

Asynchronous Counters

4-bit Ripple Counter What will be the state of counter on positive edge after 1111?

4-bit Ripple Counter Design a 4-bit ripple counter for downward counting Can you design an asynchronous Up-Down Counter with Selection Input?

Synchronous Counters

Synchronous 3-bit Up-Down Counter For S=0 Count Upward For S=1 Count Downward

Practice Problems 1. Arbitrary Count Sequence: Design a synchronous counter which follows sequence given below: 0, 2, 4, 6, 8, 0, 2,… 2. BCD Counter: Design a BCD synchronous counter which follows the sequence given below: 0,1,2,3,4,5,6,7,8,9,0,1,2,…

Practice Problems 3. Modulo-7 Counter: Which follows the sequence 0,1,2,3,4,5,6,0,1,2,… 4. Digital Watch For your convenience consider we have 64 seconds in one minute, 64 minutes in one hour and total 32 hours in a day.

Practice Problems 5. Automatic Parking Control Take CarIn and CarOut signals from sensors at Entry and Exit Gates respectively. Parking area has total capacity of 32 cars, when total count of cars in the plaza reaches 32 lock the Entry Door otherwise the door will remain unlocked. 6. Counter with Parallel Load Register composed of T Flip-Flops which loads the data if Load = 1 otherwise behaves like a binary counter.

Practice Problems 7. Counter composed of T Flip-Flops which takes X and Y selection inputs and performs following operations: X Y Operation Count 1 Shift Right Shift Left Parallel Load