SlideShare a Scribd company logo
REGISTERS
1
Outline
▪ Registers
▪ Benefits of Registers
▪ Basic Register
▪ Shift Register
▪ Bidirectional Shift Register with Parallel Load
2
Registers
■ Registers are common sequential devices.
– They’re a good example of sequential analysis and design.
– They are also frequently used in building larger sequential circuits.
■ Registers hold larger quantities of data than individual flip-flops.
– Registers are central to the design of modern processors.
– There are many different kinds of registers
3
Benefits of registers
■ Flip-flops are limited because they can store only one bit.
– Two flip-flops are used for two-bit counters.
– Most computers work with integers and single-precision floating-point
numbers that are 32-bits long.
■ A register is an extension of a flip-flop that can store multiple bits.
■ Registers are commonly used as temporary storage in a processor.
– They are faster and more convenient than main memory.
– More registers can help speed up complex calculations.
4
A basic register
■ Basic registers are easy to build. We can store multiple bits just by putting a
bunch of flip-flops together!
■ A 4-bit register is shown on the right, and its internal implementation is
below.
– This register uses D flip-flops
– it’s easy to store data without worrying about flip-flop input equations.
– All the flip-flops share a common CLK and CLR signal.
5
Figure: A 4-bit basic Register
6
Shift register
■ A shift register “shifts” its output once every clock cycle.
■ SI is an input that supplies a new bit to shift “into” the register.
■ For example, if on some positive clock edge we have: SI = 1 Q0-Q3 = 0110
then the next state will be: Q0-Q3 = 1011
■ The current Q3 (0 in this example) will be lost on the next cycle.
Q0(t+1) = SI
Q1(t+1) = Q0(t)
Q2(t+1) = Q1(t)
Q3(t+1) = Q2(t)
7
Bidirectional shift register with parallel load
A bidirectional shift register is one in which the data can be shifted
either left or right. It can be implemented by using gate logic that enables
the transfer of a data bit from one stage to the next stage to the right or to
the left, depending on the level of a control line.
8
Bidirectional shift register with parallel load (cont.)
S1 S0 Register Operation
0 0 No change (Hold)
0 1 Shift Left (down)
1 0 Shift Right (up)
1 1 Parallel Load
Parallel load
DOWN
UP
HOLD
9
Figure: Bidirectional Shift Register with Parallel Load
10

More Related Content

PPTX
Register
PPT
Shift registers
PPTX
Registers
PPTX
SHIFT REGISTERS
PPTX
Flip flops and registers
PPT
Register counters.readonly
PPTX
Registers-shift registers
PPTX
Registers
Register
Shift registers
Registers
SHIFT REGISTERS
Flip flops and registers
Register counters.readonly
Registers-shift registers
Registers

What's hot (20)

PPTX
Registers siso, sipo
PPTX
Registers
PPTX
Register in Digital Logic
PDF
Lecture 06 pic programming in c
PPTX
Registers-shift register
PPTX
Register Dld project
PPTX
Overview of Shift register and applications
PPTX
Chapter 1 Introduction to Digital Logic
PPT
Shift Registers
PPTX
Digital Registers & Counters
PPTX
Introduction to Counters
PPTX
jabed, diu, bd
PDF
Lecture 05 pic io port programming
PPT
Shift Register
PPTX
LPC 1768 A study on Real Time clock features
PPT
Digital 9 16
PDF
Module 4 registers and counters
PPTX
Registers
PPTX
Shift Microoperations by Pir Sarfraz RSDT larkana
Registers siso, sipo
Registers
Register in Digital Logic
Lecture 06 pic programming in c
Registers-shift register
Register Dld project
Overview of Shift register and applications
Chapter 1 Introduction to Digital Logic
Shift Registers
Digital Registers & Counters
Introduction to Counters
jabed, diu, bd
Lecture 05 pic io port programming
Shift Register
LPC 1768 A study on Real Time clock features
Digital 9 16
Module 4 registers and counters
Registers
Shift Microoperations by Pir Sarfraz RSDT larkana
Ad

Similar to Computer register (20)

PPTX
Register in assembly language and counters .pptx
PPTX
Unit4_DE.pptx
PPTX
lecture .pptx
PPT
17 registers
PPT
register_coooooooooooooooooooo0unter.ppt
PPT
14827 shift registers
PDF
Registers and counters
PPTX
CPU ORGANIZATION CHAPTER FIVE COMPUTER ORGANIZATION.pptx
PPTX
shift_register.pptx
PDF
lec17-130220024438-phpapp02 (1).pdf
PPT
Admission in india 2015
PPT
17 registers
PPTX
Flipflop & Latches, RS Flipflop, NOR and NAND Gate Circuits
PPT
Admission in india 2015
PPTX
digital elctronics
PPTX
Chapter 6 Register and countedfsdfr.pptx
PPTX
Sequential circuit design
PDF
FYBSC IT Digital Electronics Unit V Chapter II Shift Register
PDF
Digital Electronics – Unit III.pdf
PPTX
Digital Electronics Unit_4_new.pptx
Register in assembly language and counters .pptx
Unit4_DE.pptx
lecture .pptx
17 registers
register_coooooooooooooooooooo0unter.ppt
14827 shift registers
Registers and counters
CPU ORGANIZATION CHAPTER FIVE COMPUTER ORGANIZATION.pptx
shift_register.pptx
lec17-130220024438-phpapp02 (1).pdf
Admission in india 2015
17 registers
Flipflop & Latches, RS Flipflop, NOR and NAND Gate Circuits
Admission in india 2015
digital elctronics
Chapter 6 Register and countedfsdfr.pptx
Sequential circuit design
FYBSC IT Digital Electronics Unit V Chapter II Shift Register
Digital Electronics – Unit III.pdf
Digital Electronics Unit_4_new.pptx
Ad

Recently uploaded (20)

PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PDF
737-MAX_SRG.pdf student reference guides
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Fundamentals of Mechanical Engineering.pptx
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
Information Storage and Retrieval Techniques Unit III
PPTX
communication and presentation skills 01
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
86236642-Electric-Loco-Shed.pdf jfkduklg
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
Visual Aids for Exploratory Data Analysis.pdf
PPT
Occupational Health and Safety Management System
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PPTX
Artificial Intelligence
PPTX
Current and future trends in Computer Vision.pptx
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PDF
Soil Improvement Techniques Note - Rabbi
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
737-MAX_SRG.pdf student reference guides
UNIT 4 Total Quality Management .pptx
Fundamentals of Mechanical Engineering.pptx
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Information Storage and Retrieval Techniques Unit III
communication and presentation skills 01
Nature of X-rays, X- Ray Equipment, Fluoroscopy
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
86236642-Electric-Loco-Shed.pdf jfkduklg
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
III.4.1.2_The_Space_Environment.p pdffdf
Visual Aids for Exploratory Data Analysis.pdf
Occupational Health and Safety Management System
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
Artificial Intelligence
Current and future trends in Computer Vision.pptx
Exploratory_Data_Analysis_Fundamentals.pdf
Soil Improvement Techniques Note - Rabbi

Computer register

  • 2. Outline ▪ Registers ▪ Benefits of Registers ▪ Basic Register ▪ Shift Register ▪ Bidirectional Shift Register with Parallel Load 2
  • 3. Registers ■ Registers are common sequential devices. – They’re a good example of sequential analysis and design. – They are also frequently used in building larger sequential circuits. ■ Registers hold larger quantities of data than individual flip-flops. – Registers are central to the design of modern processors. – There are many different kinds of registers 3
  • 4. Benefits of registers ■ Flip-flops are limited because they can store only one bit. – Two flip-flops are used for two-bit counters. – Most computers work with integers and single-precision floating-point numbers that are 32-bits long. ■ A register is an extension of a flip-flop that can store multiple bits. ■ Registers are commonly used as temporary storage in a processor. – They are faster and more convenient than main memory. – More registers can help speed up complex calculations. 4
  • 5. A basic register ■ Basic registers are easy to build. We can store multiple bits just by putting a bunch of flip-flops together! ■ A 4-bit register is shown on the right, and its internal implementation is below. – This register uses D flip-flops – it’s easy to store data without worrying about flip-flop input equations. – All the flip-flops share a common CLK and CLR signal. 5
  • 6. Figure: A 4-bit basic Register 6
  • 7. Shift register ■ A shift register “shifts” its output once every clock cycle. ■ SI is an input that supplies a new bit to shift “into” the register. ■ For example, if on some positive clock edge we have: SI = 1 Q0-Q3 = 0110 then the next state will be: Q0-Q3 = 1011 ■ The current Q3 (0 in this example) will be lost on the next cycle. Q0(t+1) = SI Q1(t+1) = Q0(t) Q2(t+1) = Q1(t) Q3(t+1) = Q2(t) 7
  • 8. Bidirectional shift register with parallel load A bidirectional shift register is one in which the data can be shifted either left or right. It can be implemented by using gate logic that enables the transfer of a data bit from one stage to the next stage to the right or to the left, depending on the level of a control line. 8
  • 9. Bidirectional shift register with parallel load (cont.) S1 S0 Register Operation 0 0 No change (Hold) 0 1 Shift Left (down) 1 0 Shift Right (up) 1 1 Parallel Load Parallel load DOWN UP HOLD 9
  • 10. Figure: Bidirectional Shift Register with Parallel Load 10