Can anyone please help me to understand below issue.
Error-[ICTTFC] Incompatible complex type usage
/nfs/iind/disks/iind_lpss_00005/muthuven/AHB/ip-ice/src/val/tb/env/ice_env.svh, 256
Incompatible complex type usage in task or function call.
The following expression is incompatible with the formal parameter of the
function. The type of the actual is ‘class
SB_I3C_LITE_ICE_ENV_LIB.ice_d_pkg::ice_env’, while the type of the formal is
‘class
AMBA_AHB_MASTER_SLAVE_BFM_AMBA_AHB_MASTER_SLAVE_BFM_VAL_LIB.uvm_pkg::uvm_component’.
Expression: this
Source info:
uvm_component_registry#(AMBA_AHB_MASTER_SLAVE_BFM_AMBA_AHB_MASTER_SLAVE_BFM_VAL_LIB.svt_ahb_uvm_pkg::svt_ahb_system_env,“svt_ahb_system_env”)::create("ahb_sys
…
In reply to muthuven:
The error message says your env is defined in a package named
svt_ahb_uvm_pkg
which itself is in a library
SB_I3C_LITE_ICE_ENV_LIB.
uvm_component is from the uvm_pkg which is a library called
AMBA_AHB_MASTER_SLAVE_BFM_AMBA_AHB_MASTER_SLAVE_BFM_VAL_LIB