Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- as you see Mess_Buff_a[0]<=Mess_Din should be run when Cycle==2'b00 but it happens at Cycle==2'b01 --- Quote End --- It doesn't happen at Cycle == 1. Mess_Buff_a[0] is updated in the same clock cycle when Cycle is incremented from 0 to 1, as your code commands. This is how synchronous logic works.