Forum Discussion
Altera_Forum
Honored Contributor
12 years agoI'm not sure I understand the issue you have. The three sections you posted are all consistent with each other: the example code, output and trace (what you've posted of the trace anyway).
Yes, the two initial statements will start together. Block 2 has no delay before the display. So, it's displayed first. There is then a delay of# 2 before that initial block does anything else. In the mean time, block 1's# 1 completes. So, 'Statement 1' & 2 are displayed. Although these statements occur 'simultaneously' they are displayed sequentially as there is no other way to display simultaneous events. Block 1's# 2 now starts... ...which allows block 2's statement 2 to occur... and so on. So, as already stated, the code, output and trace you've posted all do as I'd expect. Regards, Alex