Hi,
Below is what I am trying.
I have defined a function in an interface definition. Have instantiated the interface and set interface handle to config_db.
I am trying to call this function inside a Class method, via the virtual interface handle got from the config_db.
Please guide if this construct is allowed in SV/UVM. Also, what could be the possible mistake I am making here..
Below is how the error looks:
Error-[MFNF] Member not found
/asic/users/xyz/axon/tb/comps/sram_monitor/sram_monitor.sv, 191
"this.m_ctest_mon_tmp_interface."
Could not find member 'get_mem_value' in interface
'ctest_mon_tmp_interface', at
"/asic/users/xyz/axon/tb/comps/ctest_sram_monitor/ifc/ctest_mon_tmp_interface.sv",
7.
Instance stack trace:
ctest_sram_monitor#("CORE3")
/asic/users/xyz/axon/tb/comps/env.svh, 83
env_pkg
/asic/users/xyz/axon/tb/comps/env_pkg.sv, 7
Thanks,
San