run_test()

run_test()例化的是什么?

实际上UVM真正的树根是uvm_top。uvm_top是一个全局变量,它是uvm_root的一个实例(而且是唯一一个实例),

uvm_root派生自uvm_component,所以uvm_top本质上是一个uvm_component。

uvm_test_top的parent是uvm_top,而uvm_top的parent是null。

UVM为什么不以uvm_test派生出来的测试用例uvm_test_top作为树根,而搞了这么一个奇怪的东西作为树根呢?

猜你喜欢

转载自www.cnblogs.com/camellia3371----/p/12033401.html
run