Cannot create a component of type 'ahb_mst_burst_incr' because it is not registered with the factory

发布时间 2023-07-05 15:52:54作者: GalaxyStar

运行VCS仿真报错:

 Cannot create a component of type 'ahb_mst_burst_incr' because it is not registered with the factory

  

但是我在test class中已经注册了,为什么还报错呢?

 

报错就说明没有找到ahb_mst_burst_incr.sv文件

所以到file.f中查看也添加了

检查才发现 拷贝的时候宏定义没有改,导致没有找到这个文件,修改后正常。