Forum Discussion
TuckerZ
Occasional Contributor
3 years agoClocking Block not working correctly?
Hello,
I am having a problem and want to make sure its not user error before chalking it up to a bug.
I am designing a testbench and checking the status of a set of signals that are contained i...
SyafieqS
Super Contributor
3 years agoWhen exactly does the end of the clocking block occur?
- clocking block remains active until the end of the block is reached which is 'endclocking' keyword
Note: Clocking block is only used to define the timing of the signals within the block. It does not actually sample or modify the signals themselves. The signal values are still sampled on the edges of the clock signal outside of the clocking block.
TuckerZ
Occasional Contributor
3 years agoAnd you suggest to just remove the clocking block entirely from the code to avoid this race condition?