I want to turnoff assertions by module name instead of using the hierarchy path.
RTL has generate statement like below:
for (j=0; j<NUM_CH; j=j+1)
I do not want to turnoff assertions by going through each hierarchy like below(done from testbench). foreach statement can not loop over generate statement and complains that the foreach array identifier (INST_RX) does not have an array datatype.
is there any better way to do it?