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

Bidirectional SR: Asymmetric Shift Speed Application

HardLogic CircuitAnalyze

Asymmetric serial communication protocols often require hardware that can transmit and receive data at entirely different baud rates.

The circuit provided is an 8-bit bidirectional shift register driven by a master clock CLK running at 100 MHz. Shift direction and timing are controlled by two independent enable signals: EN_R for right-shifting and EN_L for left-shifting. A clock divider circuit generates these enables such that EN_R asserts high every clock cycle, while EN_L asserts high every two clock cycles. The register shifts right when EN_R is high and left when EN_L is high. Data enters serially via D_IN and exits via Q_OUT.

Determine the effective data rates in each direction. Analyze the timing relationship between the shift enables and map this architecture to its intended application.

Constraints

  • Master clock CLK frequency is exactly 100 MHz.
  • EN_R and EN_L are mutually exclusive during normal protocol operation.
  • Setup and hold times of the flip-flops are negligible for these calculations.

Topics

timingshift-registersasymmetric-clocksprotocols

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