driver与sequencer连接求助
时间:10-02
整理:3721RD
点击:
我搭了一个平台,报错如下:formal and actual do not have assignment compatible data types(expecting datatype compatible with ’class uvm_pkg::uvm_port_base#(.IF(class uvm_pkg::uvm_sqr_if_base#(.T1(class si_agent_pkg::si_seq_item,.T2(class si_agent_pkg::si_seq_item))))' but found 'clas uvm_pkg::uvm_seq_item_pull_imp#(.REQ(class uvm_pkg::uvm_sequence_item), .RSP(class uvm_pkg::uvm_sequence_item),.IMP(class uvm_pkg::uvm_sequencer#(.REQ(class uvm_pkg::uvm_esquence_item),.RSP(class uvm_pkg::uvm_sequence_item))))' instead).
报错行的代码如下:
m_si_driver.seq_item_port.connect(m_sequencer.seq_item_export);
在线等,谢谢
报错行的代码如下:
m_si_driver.seq_item_port.connect(m_sequencer.seq_item_export);
在线等,谢谢
都说了,实参和形参类型不同。
谢谢了,问题解决了。原来我的sequencer忘记传递参数了