In reply to johnjn87:
I am getting error similar to this
Error: (vsim-3978) tc_agent.sv(21): Illegal assignment to class mtiUvm.uvm_pkg::uvm_port_base #(class mtiUvm.uvm_pkg::uvm_sqr_if_base #(class mtiUvm.uvm_pkg::uvm_sequence_item, class mtiUvm.uvm_pkg::uvm_sequence_item)) from class mtiUvm.uvm_pkg::uvm_seq_item_pull_imp #(class work.v::tc_transaction, class work.v::tc_transaction, class mtiUvm.uvm_pkg::uvm_sequencer #(class work.v::tc_transaction, class work.v::tc_transaction))
Error: (vsim-8754) tc_package.sv(21): Actual input arg. of type ‘class mtiUvm.uvm_pkg::uvm_seq_item_pull_imp #(class work.v::tc_transaction, class work.v::tc_transaction, class mtiUvm.uvm_pkg::uvm_sequencer #(class work.v::tc_transaction, class work.v::tc_transaction))’ for formal ‘provider’ of ‘connect’ is not compatible with the formal’s type ‘class mtiUvm.uvm_pkg::uvm_port_base #(class mtiUvm.uvm_pkg::uvm_sqr_if_base #(class mtiUvm.uvm_pkg::uvm_sequence_item, class mtiUvm.uvm_pkg::uvm_sequence_item))’.
I am designing a simple VIP .The error is coming in the tc_agent.sv file. The error line is actually is the connection phase
line 21: tc_d.seq_item_port.connect(tc_seqr.seq_item_export);
What should I do???