---
title: "SIPO with 1010 data up to 9th clock"
subject: "Digital Logic"
chapter: 7
key: "semester_3/digital_logic:sipo-1010-ninth-clock"
source: https://www.bctengineer.com/q/semester_3/digital_logic/sipo-1010-ninth-clock
site: BCT Engineering
---

# SIPO with 1010 data up to 9th clock

Digital Logic · Chapter 7: Registers

- Asked in: 2082 Shrawan, 3+4 marks
- Video: [SIPO Shift Register: Basics, Circuit, Designing, Working, Waveforms and Applications](https://www.youtube.com/watch?v=BcEhle8ev_4) — Engineering Funda
- Answer checked by Claude Opus 5.5 (high effort) on 2026-10-14
- Page: https://www.bctengineer.com/q/semester_3/digital_logic/sipo-1010-ninth-clock
- Whole chapter: https://www.bctengineer.com/md/semester_3/digital_logic/chapter-7

## Question

How does serial-in parallel-out (SIPO) shift register function with neat circuit diagram? Show the 1010 data shift mechanism in the timing diagram with up to 9th clock cycles.

## Short answer

With serial input 1010 (LSB first), after 4 clocks the SIPO register holds QA..QD = 1010, ready for parallel readout. At clocks 5–7, QD outputs the stored bits serially as 0,1,0,1; all flip-flops clear by clock 8. Clock 9 shows all outputs at 0, with no new data entered.

## Answer

A **serial-in parallel-out (SIPO) shift register** takes data serially, one bit per clock pulse, into the first flip-flop and shifts it along the chain; the outputs of all flip-flops are available together, so after n clocks an n-bit word can be read in parallel.

#### Circuit

```text
 Din  +-----+   +-----+   +-----+   +-----+
 ---->|D  QA|-+>|D  QB|-+>|D  QC|-+>|D  QD|-+
      |>    | | |>    | | |>    | | |>    | |
      +-----+ | +-----+ | +-----+ | +-----+ |
         ^    |    ^    |    ^    |    ^    |
 CLK ----+----|----+----|----+----|----+    |
              v         v         v         v
             QA        QB        QC        QD
          (parallel outputs read together)
```

Four D flip-flops share a common clock. $D_A = D_{in}$, $D_B = Q_A$, $D_C = Q_B$, $D_D = Q_C$, so at every rising edge each stored bit moves one stage right, and QA..QD are taken out as parallel outputs.

**Function:**

1. Clear the register (0000).
2. Apply the bits at Din, one per clock, LSB first.
3. After 4 clocks the word sits in QA QB QC QD and is read at once.
4. Further clocks (with Din = 0) push the data out through QD and the register clears.

#### Shift mechanism for 1010 (up to 9 clocks)

Serial input = 0, 1, 0, 1 at clocks 1 to 4 (1010 LSB first), and 0 afterwards.

| CLK | Serial in | QA | QB | QC | QD |
|---|---|---|---|---|---|
| 0 (initial) | - | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 0 | 0 |
| 2 | 1 | 1 | 0 | 0 | 0 |
| 3 | 0 | 0 | 1 | 0 | 0 |
| 4 | 1 | 1 | 0 | 1 | 0 |
| 5 | 0 | 0 | 1 | 0 | 1 |
| 6 | 0 | 0 | 0 | 1 | 0 |
| 7 | 0 | 0 | 0 | 0 | 1 |
| 8 | 0 | 0 | 0 | 0 | 0 |
| 9 | 0 | 0 | 0 | 0 | 0 |

- **Clock 4:** QA QB QC QD = 1010: the word 1010 is stored and read in parallel.
- **Clocks 5 to 8:** the data moves out through QD. QD after clocks 4, 5, 6, 7 is 0, 1, 0, 1 (1010 read LSB first), and the register is clear after clock 8.
- **Clock 9:** all outputs remain 0000 since only 0s are entering.

#### Timing diagram

```text
       1   2   3   4   5   6   7   8   9
CLK   _|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|
Din   ___|‾‾‾|___|‾‾‾|____________________
QA    _____|‾‾‾|___|‾‾‾|__________________
QB    _________|‾‾‾|___|‾‾‾|______________
QC    _____________|‾‾‾|___|‾‾‾|__________
QD    _________________|‾‾‾|___|‾‾‾|______
```

## Check yourself

The answer's key points as multiple-choice questions, with the correct option and why.

1. What happens at clocks 5 to 8 with Din = 0?
   A. The word stays stored
   B. The data shifts left
   C. The word is inverted
   D. The data moves out through QD and the register clears
   Answer: D. Each clock shifts right, with zeros entering QA. (Key point: Data flush)

2. What are the outputs at clock 9?
   A. 0000, since only 0s have entered
   B. 1010
   C. 0101
   D. 1111
   Answer: A. The register was already clear after clock 8. (Key point: Clock 9)

3. After clock 6, what are QA QB QC QD?
   A. 0101
   B. 0010
   C. 0100
   D. 1010
   Answer: B. Clock 4 gives 1010, clock 5 gives 0101, clock 6 gives 0010. (Key point: Register state)

## Related in Digital Logic

- [4-bit SIPO register with 1010 data](https://www.bctengineer.com/question.md?key=semester_3%2Fdigital_logic%3Asipo-1010-serial-in-serial-out) — Digital Logic, chapter 7, asked 2×
- [SIPO register with timing diagram](https://www.bctengineer.com/question.md?key=semester_3%2Fdigital_logic%3Asipo-generic-timing) — Digital Logic, chapter 7, asked 2×
- [SIPO register with 1101 data](https://www.bctengineer.com/question.md?key=semester_3%2Fdigital_logic%3Asipo-1101-data) — Digital Logic, chapter 7, asked 2×
- [SISO shift register with timing diagram](https://www.bctengineer.com/question.md?key=semester_3%2Fdigital_logic%3Asiso-generic-timing) — Digital Logic, chapter 7, asked 9×
- [SIPO register with 1001 data](https://www.bctengineer.com/question.md?key=semester_3%2Fdigital_logic%3Asipo-1001-store-retrieve) — Digital Logic, chapter 7
- [SISO and SIPO shift register circuits](https://www.bctengineer.com/question.md?key=semester_3%2Fdigital_logic%3Asiso-sipo-circuit) — Digital Logic, chapter 7

## Related in other subjects

- [Transfer function of op-amp phase-shift circuit](https://www.bctengineer.com/question.md?key=semester_3%2Fcontrol_systems%3Atf-opamp-allpass-r1-c-r2) — Control Systems, chapter 2, asked 2×
- [Why serial transfer is preferred over parallel](https://www.bctengineer.com/question.md?key=semester_5%2Finstrumentation_ii%3Aserial-vs-parallel-preferred) — Instrumentation II, chapter 3
- [Short note: Shift register and counter](https://www.bctengineer.com/question.md?key=semester_2%2Fbasic_electronics_engineering%3Ashort-note-shift-register-counter) — Basic Electronics Engineering, chapter 6
- [Short note: serial and parallel interface](https://www.bctengineer.com/question.md?key=semester_4%2Fmicroprocessor%3Aserial-parallel-interface) — Microprocessor, chapter 4
