Chat with us, powered by LiveChat Shift register counters are shift registers with feedback that exhibit ?special sequences. Examples are the Johnson counter and the ring ?counter. The Johnson counter has 2n states i | Wridemy

Shift register counters are shift registers with feedback that exhibit ?special sequences. Examples are the Johnson counter and the ring ?counter. The Johnson counter has 2n states i

 Shift register counters are shift registers with feedback that exhibit  special sequences. Examples are the Johnson counter and the ring  counter. The Johnson counter has 2n states in its sequence, where n is  the number of stages. The ring counter has n states in its sequence. 

 

answer the following:

  • Describe how a bidirectional shift register operates
  • Discuss the operation of a basic shift-register-controlled keyboard encoder

1

A bidirectional shift register is a type of shift register that allows the data to be shifted either left or right depending upon the mode selected. Here's a brief description of how it works:

Data Input: The process begins by loading data into the register. The data is represented in binary form, where each bit is loaded into a flip-flop (the basic unit of a shift register).

Direction of Shift: The direction in which the data is shifted (either left or right) depends on the control input. If the control input (often referred to as the shift-right/shift-left control) is set to "right", the data will be moved to the right. If the control is set to "left", the data will be moved to the left.

Shifting Operation: When a clock pulse is applied, the data is shifted in the direction specified by the control input. The bit on the far side (left for a right shift, right for a left shift) is ejected from the register and a new bit enters from the opposite side.

A shift-register-controlled keyboard encoder operates by assigning a unique binary code to each key on a keyboard. When a key is pressed, its associated binary code is loaded into the shift register. The encoder will then sequentially shift this code bit by bit onto a data line whenever a clock pulse is received. This process converts the parallel input from the keyboard into a serial output that can be read by the computer.

The encoder continues to shift out the binary code for the pressed key until it receives a reset signal, which typically occurs when the key is released. If another key is pressed before the first key is released, the encoder loads the new key's binary code into the shift register and begins to shift it out, effectively giving the keyboard "type-ahead" capability.

,

EET 230– Digital Systems II

Registers

2

Outline of the lecture

Basic Shift Register Functions

Serial In/Serial Out Shift Registers

Serial In/Parallel Out Shift Registers

Parallel In/Serial Out Shift Registers

Parallel In/Parallel Out Shift Registers

Bidirectional Shift Registers

Shift Register Counters

Objective of the Lecture

 After successful completion of the lecture students

will be able to:

 Identify the basic forms of data movement in shift registers

 Explain how SISO, SIPO, PIPO and PISO registers

operate

 Explain how a bi-directional shift register operates

 Determine the sequence of Johnson counter

 Construct ring counter from shift registers

 Enumerate practical applications of shift registers

3

4

Registers

 A register is a collection of flip-flops that act as an

extension of a flip-flop which can store multiple bits

 It has two basic functions: Data Storage and Data

Movement

 A shift register provides the data movement function

where it is capable of shifting their binary contents in one

or both directions (shifting data to the left or right)

 It “shifts” its output once every clock cycle

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 with its internal implementation is as shown below  This register uses D flip-flops

 All the flip-flops share a common CLK and CLR signal

6

Shift Registers

 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

Basic Shift Register Operation

 Some basic data movements are illustrated here:

Data in Data in

Data in

Data in

Data in

Data out Data out

Data out Data out

Serial in/shift right/serial out Serial in/shift left/serial out Parallel in/serial out

Parallel in/parallel outSerial in/parallel out Rotate right Rotate left

8

Data Movement

 Block diagrams for shift registers with various input/output options:

9

Serial Transfer vs. Parallel Transfer

 Serial transfer

 Information is transferred one bit at a time

 Shifts the bits out of the source register into the destination register

 Parallel transfer:

 All the bits of the register are transferred at the same time

 For example:

 Older printers use parallel data transfer

 USB devices use serial data transfer

10

Parallel Data Transfer

Parallel data transfer moves data from one register to another at one time

clock

Reg. A Reg. B

When clock occurs, all bits of A are copied to B

11

Serial Data Transfer

One application of shift registers is converting between

"serial data" and "parallel data" Serial transfer moves data bits from A to B one bit per clock Rx and Tx have single wire between the two For ‘n’ bit registers, it takes ‘n’ clocks for data move

Reg. A

1 bit signal

Usual implementation is with a shift register

Reg. B

clock

12

Serial Data Transfer (Cont.)

 Typical serial transfer is a multi-step process

 Load transmit shift register with data to send

 Shift data bit by bit from transmit to receive shift register

 Transfer received data to other registers

 The transmit shift register must have parallel load

 This is known as parallel to serial shift register

 The receive shift register must have parallel outputs

 This is known as serial to parallel shift register

 Other control/timing signals usually needed

Serial In Serial Out Shift Register

13

Serial In/Serial Out Shift Registers

 5-bit version

Serial In/Parallel Out Shift Registers

 4-bit serial in/parallel out

Waveforms

Serial In/Parallel Out Shift Registers

 4-bit serial in/parallel out

Serial In/Parallel Out Shift Registers

 8-bit serial in/parallel out

Serial In/Parallel Out Shift Registers

 8-bit serial in/parallel out

Parallel In/Serial Out Shift Registers

 4-bit parallel in/serial out

Waveforms

Parallel In/Serial Out Shift Registers

 4-bit parallel in/serial out

Parallel In/Serial Out Shift Registers

 8-bit version

Waveforms

Parallel In/Serial Out Shift Registers

 8-bit version

Parallel In/Parallel Out Shift Registers

 4-bit version

Waveforms

Parallel In/Parallel Out Shift Registers

 4-bit version

Bidirectional Shift Register

 4-bit serial in/serial out

Bidirectional Shift Register

 4-bit universal

27

Summary

Basic Shift Register Functions

Serial In/Serial Out Shift Registers

Serial In/Parallel Out Shift Registers

Parallel In/Serial Out Shift Registers

Parallel In/Parallel Out Shift Registers

Bidirectional Shift Registers

Shift Register Counters

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Wridemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order

Related Tags

Academic APA Writing College Course Discussion Management English Finance General Graduate History Information Justify Literature MLA