Logic Design (CE1111 ) Lecture 6 (Chapter 6) Registers &Counters Prepared by Dr. Lamiaa Elshenawy 1.

Slides:



Advertisements
Similar presentations
Registers and Counters
Advertisements

CENG 241 Digital Design 1 Lecture 11
Registers and Counters
Logic and Computer Design Fundamentals Registers and Counters
Sequential Circuit Introduction to Counter
C HAPTER S IX R EGISTERS AND C OUNTERS 1. A clocked sequential circuit consists of a group of flip-flops and combinational gates connected to form a feedback.
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:
REGISTER A Register is a group of binary storage cells suitable for holding binary information. A group of flip-flops constitutes a register, since each.
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.
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.
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Registers and Counters
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
EE345: Introduction to Microcontrollers Register and Counters Prof. Ahmad Abu-El-Haija.
Lecture 10 Topics: Sequential circuits Basic concepts Clocks
CSI-2111 Computer Architecture Ipage Sequential circuits, 2nd part v Objectives: To recognize and know to use the principal types of sequential.
1 Registers and Counters A register consists of a group of flip-flops and gates that affect their transition. An n-bit register consists of n-bit flip-flops.
Registers and Counters
Rabie A. Ramadan Lecture 3
Counters Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty of Information Technology The Islamic University.
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
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.
REGISTER A register is a group of flip-flops. Each flip- flop is capable of storing one bit of informa­ tion. An n-bit register consists of a group of.
Computer Organization & Programming Chapter 5 Synchronous Components.
CHAPTER 6 Sequential Circuits’ Analysis CHAPTER 6 Sequential Circuits’ Analysis Sichuan University Software College.
C HAPTER S IX R EGISTERS AND C OUNTERS 1. A clocked sequential circuit consists of a group of flip-flops and combinational gates connected to form a feedback.
DIGITAL COMPONENTS. MULTIPLEXERS A multiplexer is a combinational circuit that receives binary information from one of 2 n input data lines and directs.
Dr. ClincyLecture Slide 1 CS Chapter 3 (3A and ) Part 8 of 8 Dr. Clincy Professor of CS.
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.
Govt. Engineering College- Gandhinagar. It is all about……  STATE MACHINE.
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.
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Registers and Counters
ANALYSIS OF SEQUENTIAL CIRCUITS
EKT 221 – Counters.
EKT 221 : Digital 2 COUNTERS.
Sequential Logic Counters and Registers
Figure 12-13: Synchronous Binary Counter
FIGURE 5.1 Block diagram of sequential circuit
Sequential Circuit: Counter
Digital Design Lecture 9
Dr. Clincy Professor of CS
Asynchronous Inputs of a Flip-Flop
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
Digital Logic & Design Dr. Waseem Ikram Lecture No. 34.
Lecture No. 24 Sequential Logic.
29-Nov-18 Counters Chapter 5 (Sections ).
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
CSE 370 – Winter Sequential Logic-2 - 1
Dr. Clincy Professor of CS
Registers and Register Transfers
Computer Architecture and Organization: L02: Logic design Review
CSE 370 – Winter Sequential Logic-2 - 1
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
Registers and Register Transfers
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Outline Registers Counters 5/11/2019.
Chapter 5 Sequential Circuits.
Digital Electronics and Logic Design
Presentation transcript:

Logic Design (CE1111 ) Lecture 6 (Chapter 6) Registers &Counters Prepared by Dr. Lamiaa Elshenawy 1

Outlines  Finite State Machine  Registers  Shift Registers  Ripple Counters  Synchronous Counters 2

Finite State Machine  What is a finite state machine?  A finite state machine (FSM) is a tool used to design sequential logic circuits  FSM can be described by 1. A set of input events, a set of output events, and a set of states 2. State equation ( a function that maps states and input to output) 3. State table 4. State diagram 3

Finite State Machine 4 FSM Mealy State machine Moore State machine Mealy model: the output is a function of both the present state and the input Moore model: the output is a function of only the present state George H. Mealy (December 31, 1927– June 21, 2010) is an American mathematician and computer scientist who invented the Mealy machine Edward Forrest Moore (November 23, 1925–June 14, 2003 in) is an American professor of mathematics & computer science, the inventor of the Moore machine

Finite State Machine 5

6 Mealy model Moore model

Registers  What is a register? 1. A register is a group of flip ‐ flops, each one of which shares a common clock and is capable of storing one bit of information 2. An n ‐ bit register consists of a group of n flip ‐ flops capable of storing n bits of binary information 3. A register consists of flip ‐ flops & combinational gates 4. Flip ‐ flops hold binary information & combinational gates determine how the information is transferred into the register 7

Registers 8 Four-bit register

Registers 9  When the load input is 1, the data at the four external inputs are transferred into the register with the next positive edge of the clock  When the load input is 0, the outputs of the flip ‐ flops are connected to their respective inputs  The feedback connection from output to input is necessary because a D flip ‐ flop does not have a “no change” condition Four-bit register with parallel load

Shift Registers  What is a shift register? 1. A shift register is register that is capable of shifting the binary information held in each cell to its neighboring cell 2. A shift register consists of a chain of flip ‐ flops in cascade, with the output of one flip ‐ flop connected to the input of the next flip ‐ flop 3. All flip ‐ flops receive common clock pulses, which activate the shift of data from one stage to the next 10

Shift Registers 11 Four-bit shift register

Shift Registers 12

Counters  What is a counter? 1. A counter is essentially a register that goes through a predetermined sequence of binary states 2. Gates in the counter are connected in such a way to produce the prescribed sequence of states 3. Although counters are a special type of register, it is 4. common to differentiate them by giving them a different name 13

Counters 14 Counters Ripple Counter Synchronous Counter Ripple counter: counter inputs of flip ‐ flops are triggered by clock pulses & other flip ‐ flop outputs Synchronous counter: counter inputs of all flip ‐ flops receive the common clock

Ripple Counters 15 Four-bit ripple binary counter

Synchronous Counters 16 Four-bit binary synchronous counter

Synchronous Counters 17 Four-bit up-down binary counter  When the up input is 1, the circuit counts up  When the down input is 1 and the up input is 0, the circuit counts down  When the up and down inputs are both 0, the circuit does not change state and remains  When the up and down inputs are both 1, the circuit counts up (the up input has priority over the down input)

18

Important Websites 1. tutorials.ws/sequential/seq_5.html tutorials.ws/sequential/seq_5.html hpt-11/synchronous-counters/ hpt-11/synchronous-counters/ 6. cs&safe=active&source=lnms&tbm=isch&sa=X&ve d=0ahUKEwjLpN- XoZPMAhXHlxoKHQzyBw8Q_AUIBygB&biw=1152&b ih=525#imgrc=QKkv82TO_7P1JM%3A cs&safe=active&source=lnms&tbm=isch&sa=X&ve d=0ahUKEwjLpN- XoZPMAhXHlxoKHQzyBw8Q_AUIBygB&biw=1152&b ih=525#imgrc=QKkv82TO_7P1JM%3A 19