【UVM源码学习】uvm_resource_db

简介: 【UVM源码学习】uvm_resource_db

使用uvm_resource_base或uvm_resource来set/get resource时,往往需要多行code才能实现,uvm_resource_db则提供了一组接口,用一行代码实现resource set/get。其提供的主要接口如下。

image.pnguvm_resource_db支持debug trace功能,在命令行仿真选项中+UVM_RESOURCE_DB_TRACE,每一次调用uvm_resource_db进行resource读写访问是都会打印相关信息。uvm_resource_db.svh中同时提供了一个基类uvm_resource_db_options,可以对tracing信号进行访问与控制,+ UVM_RESOURCE_DB_TRACE会隐性调用该class,将tracing信号置一。



目录
相关文章
FlowableException: Could not update Flowable database schema: unknown version from database: ‘XXX‘
FlowableException: Could not update Flowable database schema: unknown version from database: ‘XXX‘
438 0
|
索引
【UVM源码学习】uvm_packer
【UVM源码学习】uvm_packer
968 0
|
测试技术 数据库 容器
【UVM源码学习】uvm_resource
【UVM源码学习】uvm_resource
185 0
【UVM源码学习】uvm_resource
【UVM源码学习】uvm_report_server
【UVM源码学习】uvm_report_server
348 0
【UVM源码学习】uvm_report_server
【UVM源码学习】uvm_object
【UVM源码学习】uvm_object
137 0
【UVM源码学习】uvm_object
|
安全
【UVM源码学习】uvm_links
【UVM源码学习】uvm_links
166 0
【UVM源码学习】uvm_links
【UVM源码学习】uvm_heartbeat
【UVM源码学习】uvm_heartbeat
251 0
【UVM源码学习】uvm_heartbeat
【UVM源码学习】uvm_object_globals
【UVM源码学习】uvm_object_globals
144 0
【UVM源码学习】uvm_object_globals
【UVM源码学习】uvm_registry
【UVM源码学习】uvm_registry
247 0
【UVM源码学习】uvm_registry
【UVM源码学习】uvm_event
【UVM源码学习】uvm_event
330 0
【UVM源码学习】uvm_event