CodiodeCodiode
Home
Problem Solving
Skill Tracks
My Assignments
Contests
Leaderboard
Community
Settings
Codiode/Problems/Sequential Logic

Buffered Deserializer

MediumLogic CircuitBuild

Communication interfaces like UART and SPI receive data sequentially but hand it off to processors in parallel chunks. If the parallel output updates continuously during reception, downstream logic will read scrambled intermediate states.

The buffered deserializer shifts in a 1-bit din signal every clock cycle that en is high. A 3-bit internal counter tracks the number of shifts. On the 8th shift, the accumulated 8-bit word is transferred to a secondary holding register that drives the 8-bit dout signal. A 1-bit valid_out signal asserts for exactly one clock cycle when a new complete word is available on dout. The most significant bit is received first. Asserting rst clears all registers and sets the counter to 0.

Constraints

  • Use only synchronous resets.
  • Implement an internal 8-bit shift register and a separate 8-bit holding register.
  • Update dout only when a full 8-bit word has been shifted in.

Topics

CountersShift RegistersInterface

Solve this problem

Place the gates, wire them up and watch the signals settle. Every submission runs on the same simulation engine that grades it.

This problem is part of Codiode Pro. The statement above is free to read.

Sign in to solveSee what Pro unlocks

The circuit builder and code editor need a desktop screen. On a phone, read the problem here and open it on a laptop to solve.

Related problems

  • 3-bit Ripple Counter from Toggle Flip-FlopsEasy
  • D Latch from a 2:1 MUXEasy
  • 2-bit Ring CounterEasy
  • T Flip-Flop from a D Flip-FlopEasy
  • Handshake Deadlock Due to Early ResetHard
  • Reconvergence of Individually Synchronized BitsHard
  • Debug: Asynchronous Clear GlitchHard
  • Clock Gate Enable Crossing DomainsHard

Browse all problems · Learning tracks