4 / 37 · Check
Check: combinational and stored outputs
Distinguish when inputs change from when a register is observed.
Lessons are free to read. Enroll to save your learning progress.
Write down when the combinational path and register path update before answering.
For assign y = a; always_ff @(posedge clk) q <= y;, change a from 0 to 1 after a rising edge. What happens before the next edge, once the combinational path settles?
assign computes a combinational result from current inputs. always_ff updates q only at its specified edge. The type name logic alone does not create a register.
✓ Check completed