In reply to saumyaj:
In reply to mpurna:
Hi Dave,
Is it possible to write multiple range which are non contiguous in a single thread. if possible how?
Thanks & Regards,
Saumyaj
task disp();
case(val) inside
[32'h0:32'h5],[32'h10:32'h20] : $display("RANGE1,RANGE3");
[32'h6:32'h8] : $display("RANGE2");
default: $display("DEFAULT");
endcase
endtask