How to wait on a clocking block signal with timeout functionality

In reply to Blitzz0418:
Yes sure, you’re correct. But i just wanted to give one example and i had idea that b always goes high when a value is reaching to 15 and busy waiting is done on b.

Thanks,
Juhi Patel.
https://www.linkedin.com/in/juhi-patel-455535149/