I am trying to connect uvm_analysis_port#(transaction) ap; ( in monitor of a bfm )to analysis fifo in scoreboard in my top tb env ( uvm_tlm_analysis_fifo #(transaction) fifo[int];).
In my top env, i have bfm env instance, and i am connecting the port-fifo using the code below
I am hitting this error
Error-[ICTTFC] Incompatible complex type usage
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
uvm_pkg::uvm_analysis_imp#(transaction,class uvm_pkg::uvm_tlm_analysis_fifo#(class transaction))', while the type of the formal is 'class uvm_pkg::uvm_port_base#(class uvm_pkg::uvm_tlm_if_base#(transaction,transaction))'.
Any suggestion on what could be wrong ?