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

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.

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

  • Binary to HexEasy
  • 1-to-4 Demultiplexer from AND and NOT GatesEasy
  • 2-to-4 Line Decoder with Active-High EnableEasy
  • Hex Nibble to BinaryEasy
  • Odd Parity Bit Generator for 3-bit DataEasy
  • Full Adder from Half AddersEasy
  • Modulo ArithmeticMedium
  • Two's Complement: Encode a Negative DecimalEasy

Browse all problems · Learning tracks