Error-[ICTTFC] Incompatible complex type usage

Hi, I am getting this error in my code - Dual port Ram Basic . Can someone let me know the possible cause. I am getting 3 Errors of the same kind but explaining the cause for only this one will help.
Error -

Error-[ICTTFC] Incompatible complex type usage
driver.svh, 20
Incompatible complex type usage in task or function call.
The following expression is incompatible with the formal parameter of the
task. The type of the actual is ‘class dpr_pkg::dpr_sequence_item’, while
the type of the formal is ‘class uvm_pkg::uvm_sequence_item’. Expression:
trans_d
Source info:
uvm_pkg::\uvm_seq_item_pull_port#(uvm_pkg::uvm_sequence_item,uvm_pkg::uvm_sequence_item)::get_next_item
(this.seq_item_port, trans_d);

Your driver needs to be parameterized with the appropriate sequence item.

1 Like