关于UVM的my_driver问的求助~~~~
时间:10-02
整理:3721RD
点击:
使用UVM的时候关于my_driver报了一个错误,my_driver 的第一行这样写的
class my_driver extends uvm_driver #(my_transaction)
报错为:
Identifier "my_transaction" has not been declared yet .If this error is not expected ,please check if you have set default_nettype to none
我已经编写了my_transaction.sv文件,而且将其加入到了top_tb.sv文件中,这点令我不解,求各位指导
class my_driver extends uvm_driver #(my_transaction)
报错为:
Identifier "my_transaction" has not been declared yet .If this error is not expected ,please check if you have set default_nettype to none
我已经编写了my_transaction.sv文件,而且将其加入到了top_tb.sv文件中,这点令我不解,求各位指导
my_transaction 有在 my_transaction.sv中使用`uvm_object_utils_begin(my_transaction)
`uvm_object_utils_end
注册过吗?
声明类 并且注册到uvm中去 楼上正解
使用了,已经解决,谢谢您