In reply to Vignesh Raghavan:
I guess there is no necessity for a break statement inside the begin…end block.
You’re correct, however, the break gives you the following advantages:
- It clarifies the requirements in that once you find the high bit being true, the lower order bits are irrelevant, or don’t care.
- Efficiency.
Ben SystemVerilog.us