首页 > 解决方案 > 如何从 UVM 工厂类中被覆盖的位置进行微调

问题描述

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

谢谢,

标签: system-veriloguvm

解决方案


怎么样:

// 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();

推荐阅读