Forum Discussion
SyafieqS
Super Contributor
2 years agoNo, I'm not suggesting that you remove the clocking block entirely from your code. Clocking blocks are a powerful construct that can help ensure that signals are synchronized to the clock edge and can help prevent race condition
However, in some cases, you may want to use signals outside of the clocking block to avoid issues with signal updates. You can still use the clocking block to define the timing of the signals, but you can read the values of the signals outside of the block to ensure that you are getting the updated values.