REGISTERS - Introduction to Registers Shift Registers Lecture 1 Gunjeet Kaur Dronacharya Group of Institutions.

Slides:



Advertisements
Similar presentations
1 Sequential Circuits Dr. Pang. 2 Outline Introduction to sequential circuits Basic latch Gated SR latch and gated D latch D flip-flop, T flip-flop, JK.
Advertisements

Sequential Circuits A Basic sequential circuit is nothing but a combinational circuit with some feedback paths between its output and input terminals.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Sequential Circuit: Register Introduction N-bit register contains n flip-flop and several logic gates and.
1 Chapter 4 Combinational and Sequential Circuit.
Shift Registers and Shift Register Counters
EET 1131 Unit 12 Shift Registers
ENGIN112 L26: Shift Registers November 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 26 Shift Registers.
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.
Mantıksal Tasarım – BBM231 M. Önder Efe
Digital Fundamentals Floyd Chapter 9 Tenth Edition
SEQUENTIAL CIRCUITS USING TTL 74XX ICS
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Registers and Counters
Chapter 1_4 Part II Counters
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
EE345: Introduction to Microcontrollers Register and Counters Prof. Ahmad Abu-El-Haija.
1 Shift Registers. –Definitions –I/O Types: serial, parallel, combinations –Direction: left, right, bidirectional –Applications –VHDL implementations.
Figure 9–1 The flip-flop as a storage element.
Registers & Counters M. Önder Efe
Registers CPE 49 RMUTI KOTAT.
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
Digital Design: Principles and Practices
EKT 221/4 DIGITAL ELECTRONICS II  Registers, Micro-operations and Implementations - Part3.
CE1110: Digital Logic Design Sequential Circuits.
Princess Sumaya Univ. Computer Engineering Dept. Chapter 6:
Digital Design Lectures 11 & 12 Shift Registers and Counters.
1 Registers & Counters Logic and Digital System Design - CS 303 Erkay Savaş Sabancı University.
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.
Sequential Logic Circuit
Sequential Logic Circuit
Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
Lecture 21: Registers and Counters (1)
CHAPTER 6 Sequential Circuits’ Analysis CHAPTER 6 Sequential Circuits’ Analysis Sichuan University Software College.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Digital Electronics Electronics Technology Landon Johnson Shift Registers.
Digital Fundamentals Tenth Edition Floyd Chapter 9.
DIGITAL SYSTEMS TCE Shift Registers and Shift Register Counters Week 10 and Week 11 (Lecture 2 of 2)
DIGITAL COMPONENTS. MULTIPLEXERS A multiplexer is a combinational circuit that receives binary information from one of 2 n input data lines and directs.
REGISTER TRANSFER LANGUAGE (RTL) INTRODUCTION TO REGISTER Registers1.
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.
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.
CSE 260 Digital Logic Design Registers, Memory BRAC University.
Synchronous Counters, ripple counter & other counters Lecture 2
EET 1131 Unit 12 Shift Registers
Registers and Counters
Electronics Technology
Digital Fundamentals Abdul Hameed
Chap 7. Register Transfers and Datapaths
Sequential Logic Counters and Registers
CHAPTER 9 Shift Registers
3.2 Shift Register Basic shift register function
Shift Registers.
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.
EET 1131 Unit 12 Shift Registers
Digital Logic & Design Dr. Waseem Ikram Lecture No. 34.
Recap D flip-flop based counter Flip-flop transition table
Registers.
CHAPTER 4 SHIFT REGISTER
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
Registers and Counters
Instruction execution and ALU
Shift Registers Dr. Rebhi S. Baraka
Presentation transcript:

REGISTERS - Introduction to Registers Shift Registers Lecture 1 Gunjeet Kaur Dronacharya Group of Institutions

Introduction: Registers  An n-bit register has a group of n flip-flops and some logic gates and is capable of storing n bits of information.  The flip-flops store the information while the gates control when and how new information is transferred into the register.  Some functions of register:  retrieve data from register  store/load new data into register (serial or parallel)  shift the data within register (left or right)

Simple Registers  No external gates.  Example: A 4-bit register. A new 4-bit data is loaded every clock cycle. A3A3 CP A1A1 A0A0 D Q D QQ D A2A2 D Q I3I3 I1I1 I0I0 I2I2

Registers With Parallel Load  Instead of loading the register at every clock pulse, we may want to control when to load.  Loading a register: transfer new information into the register. Requires a load control input.  Parallel loading: all bits are loaded simultaneously.

Registers With Parallel Load Load'.A 0 + Load. I 0

Using Registers to implement Sequential Circuits  A sequential circuit may consist of a register (memory) and a combinational circuit. RegisterCombin- ational circuit Clock InputsOutputs Next-state value  The external inputs and present states of the register determine the next states of the register and the external outputs, through the combinational circuit.  The combinational circuit may be implemented by any of the methods covered in MSI components and Programmable Logic Devices.

Using Registers to implement Sequential Circuits  Example 1: A 1 + =  m(4,6) = A 1.x' A 2 + =  m(1,2,5,6) = A 2.x' + A 2 '.x = A 2  x y =  m(3,7) = A 2.x A1A1 A2A2 x y A 1.x' A2xA2x

Using Registers to implement Sequential Circuits  Example 2: Repeat example 1, but use a ROM. ROM truth table A1A1 A2A2 xy 8 x 3 ROM

Shift Registers  Another function of a register, besides storage, is to provide for data movements.  Each stage (flip-flop) in a shift register represents one bit of storage, and the shifting capability of a register permits the movement of data from stage to stage within the register, or into or out of the register upon application of clock pulses.

Shift Registers  Basic data movement in shift registers (four bits are used for illustration). Data inData out (a) Serial in/shift right/serial out Data inData out (b) Serial in/shift left/serial out Data in Data out (c) Parallel in/serial out Data out Data in (d) Serial in/parallel out Data out Data in (e) Parallel in / parallel out (f) Rotate right(g) Rotate left

Serial In/Serial Out Shift Registers  Accepts data serially – one bit at a time – and also produces output serially. Q0Q0 CLK D C Q Q1Q1 Q2Q2 Q3Q3 Serial data input Serial data output D C Q D C Q D C Q

Serial In/Serial Out Shift Registers  Application: Serial transfer of data from one register to another. Shift register AShift register B SI SO Clock Shift control CP Wordtime T1T1 T2T2 T3T3 T4T4 CP Clock Shift control

Serial In/Serial Out Shift Registers  Serial-transfer example.

Serial In/Parallel Out Shift Registers  Accepts data serially.  Outputs of all stages are available simultaneously. Q0Q0 CLK D C Q Q1Q1 D C Q Q2Q2 D C Q Q3Q3 D C Q Data input D CCLK Data input Q0Q0 Q1Q1 Q2Q2 Q3Q3 SRG 4 Logic symbol

Parallel In/Serial Out Shift Registers  Bits are entered simultaneously, but output is serial. D0D0 CLK D C Q D1D1 D C Q D2D2 D C Q D3D3 D C Q Data input Q0Q0 Q1Q1 Q2Q2 Q3Q3 Serial data out SHIFT/LOAD SHIFT.Q 0 + SHIFT'.D 1

Parallel In/Serial Out Shift Registers  Bits are entered simultaneously, but output is serial. Logic symbol CCLK SHIFT/LOAD D0D0 D1D1 D2D2 D3D3 SRG 4 Serial data out Data in

Parallel In/Parallel Out Shift Registers  Simultaneous input and output of all data bits. Q0Q0 CLK D C Q Q1Q1 D C Q Q2Q2 D C Q Q3Q3 D C Q Parallel data inputs D0D0 D1D1 D2D2 D3D3 Parallel data outputs

Bidirectional Shift Registers  Data can be shifted either left or right, using a control line RIGHT/LEFT (or simply RIGHT) to indicate the direction. RIGHT.Q 0 + RIGHT'.Q 2

Bidirectional Shift Registers  4-bit bidirectional shift register with parallel load.

Bidirectional Shift Registers  4-bit bidirectional shift register with parallel load.

An Application – Serial Addition  Most operations in digital computers are done in parallel. Serial operations are slower but require less equipment.  A serial adder is shown below. A  A + B. FA xyzxyz SCSC Shift-register A Shift-right CP SI Shift-register B SI External input SO QD Clear

An Application – Serial Addition  A = 0100; B = A + B = 1011 is stored in A after 4 clock pulses. Initial: A: B: Q: 0 Step 1: S = 1, C = 0 A: B: x Q: 0 Step 2: S = 1, C = 0 A: B: x x 0 1 Q: 0 Step 3: S = 0, C = 1 A: B: x x x 0 Q: 1 Step 4: S = 1, C = 0 A: B: x x x x Q: 0