Uvm_config_db

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’.

Time: 0 ns Iteration: 0 Region: /my_pkg File: …/env/m_agent/src/my_pkg.sv

** Error: (vsim-8754) …/env/m_agent/src/m_driver.sv(71): Actual inout arg. of type ‘virtual interface.drv_modport’ for formal ‘value’ of ‘get’ is not compatible with the formal’s type ‘virtual interface’.