Turn Off All Assertions Inside Generate Block

In reply to Reuben:

Your first code looks OK to me (Didn’t test it though):

$assertoff(0, my_top.my_assertion.my_gen_block[0]); // Result to a compile error saying that my_gen_block is missing

Maybe you can do:

$assertoff(0, my_top.my_assertion); 

Regards
Srini