How to define a condition for a covergroup (using iff)?

In reply to Rahulkumar Patel:

thank you, i ll try what you said above and let you know.

I am also facing issue with doing this. How do i have same two different bin definition with iff condition. I dont want to change bings name out_bound

`define ABC
bins out_bound = {[10:15],[20:25],[30:35]} iff (type_a == XYZ) or {2,[10:15],17,[20:25],27,[30:35]} iff (type_a == PQR);