Codiode

Identify a Static Hazard Glitch

HardLogic CircuitTiming Diagram

A combinational logic circuit implements the function Y = (A AND B) OR (NOT_A AND C) to demonstrate a static-1 hazard.

Four signals are shown: primary inputs A, B, and C, and the internal signal NOT_A (the inverted value of A, delayed by one time step due to gate propagation).

Trace the output signal Y across all 8 time steps to reveal the glitch pulse caused by the mismatched delay.

Constraints

  • Evaluate the logic function exactly as written using the current values of the signals at each individual time step.
  • The output Y depends only on the given states of A, B, C, and NOT_A at that exact moment.

Topics

gate-levelhazardstiming-diagram

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.

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 Gate-Level Logic

Problem 51 of 62 in the Gate-Level Logic track.

Related problems

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

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