HDLbits

Verification/Reading Simulations

Sequential Circuit 10

medium
trace-tablesequential

The circuit has one flip-flop, whose stored value is visible on state. Infer the combinational output and the value captured at each rising clock edge from the trace table.

The following stimulus and observed outputs are a newly prepared trace for this exercise:

rising edge a b state after edge q after edge
1 0 0 0 0
2 1 1 1 0
3 1 0 0 0
4 0 1 0 1
5 1 1 1 0