Forum Discussion
Altera_Forum
Honored Contributor
15 years agoNow, index == 2'b11, the value in port 'd' of sig_num reg(or d-flip-flop) is 4'd0111
Then an active edge of clock comes, index turns to 2'b00, SIMULTANEOUSLY, sig_num turns to 4'b0111(for 'd' to 'q'). HDL describes hardware structure, all statements in a block, especially non-blocking assignments in synchronious block are taking effects simultaneously.