UVM 配置全局资源 uvm_event_pool uvm_barrier_pool uvm_pool

uvm_evnet_pool: 全局的事件资源池,方便各component间共享event,用于同步,同时可以传递object。

uvm_barrier_pool: 用于同步各component的线程。

参考《芯片漫游指南》 p356 

链接:https://blog.csdn.net/weixin_43249032/article/details/87738218

uvm_pool:自定义全局联合数组,供各component共享访问。但仍需要将各component声明的句柄相连接。

链接:https://www.chipverify.com/uvm/uvm-pool

其他配置方法:

1:在top顶层定义,直接引用 

2:在base_test或者env中例化共享的类,通过config_db::set给下面模块或者直接在connect中连接句柄。

猜你喜欢

转载自blog.csdn.net/Holden_Liu/article/details/102683966