All labs › Learn › Digital Logic Design
All articlesAll labs

Shift Registers: Serial In, Parallel Out and More

Learn how shift registers work: SISO, SIPO, PISO and PIPO types, the universal 74194, ring and Johnson counters and serial to parallel conversion.

Updated 28 November 2026 · 4 min read · Designed by Fasih Ullah Saleem

01A chain of flip-flops02Four ways to use it03Serial in, parallel out04The universal register 7419405Shifting as arithmetic06Ring and Johnson counters07Common problems08Try it in the virtual lab09Questions and answers10Related topics
01

A chain of flip-flops

A shift register is a row of D flip-flops, with the output of each connected to the input of the next, and all clocked together. At every clock edge each flip-flop copies its neighbour, so the stored bits move one place along the row. A 4 bit register holds four bits.

Suppose the register holds 0000 and you feed a 1 into the first flip-flop for one clock, then 0s afterward. The 1 appears at the first output after one clock, the second after two clocks, and so on until it leaves after four clocks. The register is a delay line of n clock periods.

02

Four ways to use it

TypeData inData outTypical use
SISOserialserialdelay of a bit stream
SIPOserialparallelreceiver: bits to a byte
PISOparallelserialtransmitter: byte to bits
PIPOparallelparallelstorage register

Serial means one bit at a time on one wire. Parallel means all bits at once on several wires. Converting between them is the main use of a shift register. A serial link needs fewer wires, and a parallel bus is faster inside a chip.

03

Serial in, parallel out

To receive the byte 1011 on a SIPO register, send the bits one per clock, the first bit first. After four clocks the first bit sits at the far end of the register and the last at the front, and all four are available at the outputs at the same time. Read the outputs after the fourth clock. Reading earlier gives a partly shifted result.

In a PISO register, a load control pulls the parallel data into the flip-flops. The register then shifts it out one bit per clock at the serial output. A UART in a computer uses both of these.

04

The universal register 74194

The 74194 is a 4 bit universal shift register in a 16 pin package. Two mode inputs S1 and S0 choose the action at each rising clock edge.

S1S0Action
00hold (no change)
01shift right, serial input at the right shift input
10shift left, serial input at the left shift input
11load the parallel inputs A to D

The clear input is active low and clears the register at any time. A chip like this does all four operations, so it can be a SISO, SIPO, PISO or PIPO register by choosing the mode and which pins you use.

05

Shifting as arithmetic

A shift to the left, with a 0 entering at the right, multiplies a binary number by 2. A shift to the right divides by 2 and drops the lowest bit. For example 0011 (3) shifted left is 0110 (6). Adders and shift registers together make a multiplier.

06

Ring and Johnson counters

Feeding the last output back to the serial input makes a register that circulates its bits. Load one 1 and the register is a ring counter. The 1 moves round and round, so a 4 bit ring has 4 states: 1000, 0100, 0010, 0001. Each output is a clean pulse, so a ring counter is a simple sequencer for lights or steps.

If you feed back the inverted last output, the register is a Johnson counter. A 4 bit Johnson counter has 8 states: 0000, 1000, 1100, 1110, 1111, 0111, 0011, 0001. It uses n flip-flops for 2n states and any two adjacent states differ by only one bit, which makes decoding glitch free.

07

Common problems

  • A ring counter that starts in a wrong state, such as 0000, stays there. Load the first state with a preset or the load mode.
  • If a bit seems to jump two places, the clock is bouncing. Use a debounced clock.
  • Unused mode or serial inputs left open float high in TTL and can give the wrong action. Tie them to a known level.

Always set the mode, clear the register and then clock it, checking each step against the expected pattern.

08

Try it in the virtual lab

SinBench has free 3D benches and interactive demos for this topic. Open one to try the ideas above with real instruments, no sign up needed.

Lab 13

Shift Registers: Serial and Parallel

Open the lab →Concepts and demos
09

Questions and answers

What is a shift register?

It is a chain of flip-flops that passes a stored bit pattern one place along at each clock pulse. It stores bits and converts between serial and parallel form.

What is the difference between SIPO and PISO?

A SIPO register takes bits in one at a time and gives all bits at once. A PISO register takes all bits at once and sends them out one at a time.

How many states does a Johnson counter have?

A Johnson counter with n flip-flops has 2n states. A 4 bit one has 8 states.

What do the S1 and S0 inputs of a 74194 do?

They choose the action: hold, shift right, shift left or parallel load, at each clock edge.

10

Related topics

Digital Logic Design

Latches and Flip-Flops: SR, D and JK Explained

Learn how SR latches, gated D latches, edge triggered D flip-flops and JK flip-flops work, with tables and equations, and the toggle and debounce uses.

Digital Logic Design

Counters: Ripple, Synchronous and the 74192

Compare ripple and synchronous counters, find the maximum clock rate, build a mod N counter by resetting, and meet the 74192 up down counter.

Digital Logic Design

TTL Chips on a Breadboard: Power, Pin Numbers and Wiring Rules

A practical guide to wiring TTL chips on a breadboard: supply voltage, pin numbering, unused inputs, logic levels, LED resistors and common mistakes.

SinBench SinBench · Free virtual labsDesigned by Fasih Ullah Saleem
© 2026 Fasih Ullah Saleem. All rights reserved. fasihullahsaleem.com · About · Terms of Use · Privacy