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

Bidirectional SR: Mode Encoding for 74HC194 Pin-Compatible Design

MediumLogic CircuitAnalyze

Standard logic ICs like the 74HC194 universal shift register use mode control pins to dictate internal multiplexer routing. Every stage in the register requires precise data selection to execute shifting, loading, or holding operations synchronously.

The circuit provided represents a single stage n of a 4-bit universal shift register. The input to the D flip-flop D is driven by a 4-to-1 multiplexer. This multiplexer is controlled by two mode select pins: S1 (MSB) and S0 (LSB). The multiplexer has four data inputs labeled 0 through 3. These inputs are wired to the current stage output Q, the previous stage output Q_{n-1}, the next stage output Q_{n+1}, and a parallel data input P_n.

Determine the specific operation assigned to each S1 and S0 combination based on standard 74HC194 behavior. Identify the active serial input pins and internal feedback paths for each mode.

Constraints

  • Assume positive edge-triggered D flip-flops.
  • Assume the 4-to-1 multiplexer selects input 0 when S1=0 and S0=0, input 1 when S1=0 and S0=1, input 2 when S1=1 and S0=0, and input 3 when S1=1 and S0=1.
  • The register is 4 bits wide, with stage 0 being the leftmost bit and stage 3 being the rightmost bit.

Topics

MultiplexersShift Registers74HC194Mode Encoding

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