In reply to sidharth.sankar77:
This is a limitation of your simulator then, since the code I posted is based on the example from the LRM. You can just get away with copying the ranges for b1 and so on in the cross definition. I know it’s not nice since you have the same thing defined in two places, but it’s the only thing you can do until your simulation vendor implements the full SV standard.