Forum Discussion
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Thank you, It's pretty well working. But could you explain me why I can't get previous value for `led` in other always blocks? --- Quote End --- Not sure what you mean by this. led[11:0] is a register, so you can access it at any time in any logic equation within that module. The value will only change when the always block that encloses it is triggered and the value is updated.