As I know the ref argument is only used task or function. But I found someone code in systemverilog Which is the ref is used in modport.
Can I use ref argument in modport in systemverilog? Like this, modport( ref xxx,
Yes. It's in the 1800-2012 LRM.