Compilation Error:: virtual interface XMR connected to task/function ref-port is not yet supported

In reply to An Pham:

Hi Pham ,
1.We cant change the simulator.
2.The code is just for reference. Thanks for suggestion

Can anybody else please help.