(2)一个analysis_port/analysis_export可以和多个IMP相连进行通信,但是IMP的类型必须是uvm_analysis_imp; (3) 在analysis_imp所在的component,必须定义一个write函数.调用analysis_port.write()函数时,会依次获取与之相连的analysis_imp,并调用analysis_imp.write()函数;在analysis_imp.write()函数内,会调用analysis_...
1.除了PORT 和 EXPORT外,还有第三种端口:IMP。它才是UVM 的精髓,承担UVM 中TLM的大部分代码实现。源码: 1)和之前的15 种PORT 和EXPORT一一对应。 2)IMP 不能发起操作,只作为终点,被动承担者。 3)PORT,EXPORT,IMP 优先级从高到低。PORT 可以直接连接到IMP。 4)第一个参数是传输类型。第二个参数是“在哪...
a uvm_subscriber which is implementing write function which is inside a uvm_scoreboard then here uvm_scoreboard has uvm_analysis_export where as uvm_subscriber has uvm_analysis_imp , then you have to hierarchical connect export to imp i.e uvm_sb.analysis_export.connect(uvm_sub.analysis_imp) ...