00:00:00.000 Sample D at the rising edge These eight flip-flops share a clock. At the first rising edge, D holds hex three one. The stored output becomes that word. 00:00:11.583 D can change several times between rising edges At five nanoseconds, capture three one. D changes to five two and then to hex A six. Only A six is sampled at the next rising edge. 00:00:25.208 Write the sampling edge as posedge The rising-edge block reads D when the clock goes high. The nonblocking assignment updates Q in the simulator's update phase. Before the edge, Q holds its previous sample. 00:00:40.542 Which input value was actually sampled? Five two appears only between edges, so Q never stores it. At twenty-five nanoseconds, D is zero and Q captures that value.