Digital Logic — question 2 of 10
Write a real answer. It is graded against the question's rubric, and the mastery movement is computed by the same engine the product uses. Scoring here is deterministic rather than model-written, so this page costs nothing to run and nothing is saved. In a track built from your own posting, the same rubric is graded by the model, which is what produces feedback about your reasoning rather than about coverage.
The encoder has no registers -- it's pure combinational logic feeding directly from the input switches to the output pins.
You built a 4-bit one-hot to 2-bit binary priority encoder using basic AND/OR/NOT gates. Steady-state testing shows the output is correct for every valid one-hot input. But when you switch quickly from one active request line to another, a logic analyzer captures the output briefly flickering to an invalid code for a few nanoseconds before settling to the correct new value. Walk me through why this happens and how you would confirm it's this specific issue rather than a wiring or logic error.