In reply to ben@SystemVerilog.us:
Hi Ben,
This looks great. I guess there is no necessity for a break statement inside the begin…end block.
Because we are checking grnt[i] == 1’b1 and at the same time, if gnt itself is one-hot encoded. So, Even if other iterations run, I hope it should not affect our results. Or does it?