In reply to myashu:
Then We should set for each modport different.
By setting interface also we can get but here i am facing the problem like
Error for My Example Code:
** Error: (vsim-3978) …/env/m_agent/src/m_driver.sv(71): Illegal assignment to type ‘virtual interface’ from type ‘virtual interface.drv_modport’.