【问题标题】:How to fine from where in UVM factory class been overrided如何在 UVM 工厂类中找到被覆盖的位置
【发布时间】:2020-07-27 21:20:48
【问题描述】:

在我们的模型中,UVM 工厂内部覆盖了一个类,我如何找到它在哪里完成的? 我正在使用 vcs DVE / VERDI 进行调试。

谢谢,

【问题讨论】:

    标签: system-verilog uvm


    【解决方案1】:

    怎么样:

    // variable to store a reference to the factory
    uvm_factory factory;
    
    // get a reference to the factory
    factory = uvm_factory::get();
    
    // print the contents of the factory
    factory.print();
    

    或全部在一行中:

    uvm_factory::get().print();
    

    【讨论】:

      猜你喜欢
      • 2020-05-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-12-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-10-21
      相关资源
      最近更新 更多