Codiode

4-Bit SISO with Shift Enable

MediumLogic CircuitBuildFree

Buffered pipelines and serial communication interfaces must pause transmission when the receiver is not ready. A shift enable signal allows the shift register to freeze its state without interrupting the continuous global clock.

The circuit is a 4-bit Serial-In Serial-Out (SISO) shift register with an active-high enable signal EN. When EN is 1, data at sin shifts into the first stage on the rising edge of clk, and each subsequent stage receives the value of the previous stage. When EN is 0, all stages retain their current values. The output sout reflects the final stage.

EN clk Q0 Q1 Q2 sout
0 Rising Q0 Q1 Q2 sout
1 Rising sin Q0 Q1 Q2

Constraints

  • Do not connect the EN signal to the clock pin of any flip-flop.
  • Connect the global clock directly to the clock pin of every flip-flop.
  • Use a 2:1 multiplexer at the D input of each flip-flop to select between the hold state and the shift state.
  • Implement exactly 4 stages of shifting using D flip-flops.

Topics

MultiplexersFlip-FlopsShift Registers

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.

Free to solve. A Codiode account keeps your progress.

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.

Part of Shift Registers

Problem 3 of 86 in the Shift Registers track.

Related problems

Browse all problems · Digital logic design practice problems · Learning tracks

Solve this on a laptopSend yourself the link and continue there.