Logic that glitches

A selects between B and C, both held at 1. Run the input edge, then try adding B·C and synthesizing it. Watch what the clock stores: a brief error can outlast the pulse that caused it.

Choose the circuit
A falls at 10 nsNOW 0.0 ns
Two signal paths meet at an OR gateY = A·B + ¬A·C

Two paths hand off A. There is no B·C bridge between them.

1
Current stored valueInitial 1 · clock still ahead
Gate outputs revealed up to the current time

Run or scrub time. The scope reveals only what has happened.

Input direction & gate delays

B·C bridges the handoff without changing any settled truth-table answer. A captured Yosys synthesis removes that repair: compare the three circuits, then move the clock later. These delays are illustrative; “Synthesized” replays the captured topology with assigned delays, not measured device timing or a compiler running here.

Truth table, synthesis & model limits
Settled outputs
A B COriginal+ B·CSynth.

These are Boolean transport-delay simulations: every input change reaches a gate’s output after its assigned delay. Events at the same time are batched. The shaded ±0.5 ns around the clock is an illustrative setup/hold window; an edge there gives “?” rather than a physical prediction. The gate delays are invented, and are not FPGA timing or an analog model. B and C stay at 1 during the experiment.

The six-gate repair only promises this settled, single-input handoff. Synthesis is a saved Yosys 0.70 result, not a compiler running in your browser. Its gate connections are checked against the simulated network; mapping to a real device can produce a different circuit. Real synchronous designs must meet setup and hold timing. Derivation, exact command and limits · Actual synthesized Verilog · Purdue’s hazard notes · Altera’s timing guidance