07 2014 档案
摘要:后面的例子我会继续补充:1. 因为uvm默认定义的message格式比较长,非常不利于debug过程中的分析使用,一般情况下,开始使用uvm,都要利用uvm_report_server重新定义message输出的格式。下面给出一个例子:用于将name和ID限定在同一个width。class my_report_server extends uvm_report_server; int name_...
阅读全文
摘要:uvm 中的信息报告机制相对来说比较简单,功能上来说主要分为两部分:第一通过ID对component的信息报告冗余级别进行控制,针对每个冗余级别进行不同的行为控制。这部分工作主要由uvm_report_hander来实现: 主要涉及到的方法有get_report_verbosity_level(severity, id)/get_report_action(severity,id) == ...
阅读全文
摘要:Reporting 类提供了一组工具用于格式化报告输出report机制大概包括四个主要的类uvm_report_object,uvm_report_handler, uvm_report_server,uvm_report_catcher,UVM reporting主要的接口是uvm_report_object(这是一个接口类),这是uvm_components的父类。uvm_report_obj...
阅读全文
摘要:Port Base Classes uvm_port_component_base This class defines an interface for obtaining a port’s connectivity lists after or during the end_of_elaboration phase.主要用来在end_of_elaboration phase后返回某...
阅读全文
摘要:uvm_root 是uvm的顶层实例扮演了一个top-level and phase controller 的作用,对于component来说。该类不需要用户实例化,他是一个自动实例化了的类,用户直接通过uvm_top调用。任何component,只要没有指定其parent,那么他将作为top的一个child。top管理所有component的phase; 1.The UVM automa...
阅读全文
摘要:uvm_transaction继承自uvm_object,添加了timing和recording接口,该类是uvm_sequence_item的基类。下边将做剖析1.这个类提供了时间戳属性(timestamp properties),通知事件(notification events),和交易记录(transaction recording)支持。2.使用这个类作为用户定义的基础交易是弃用。其子类u...
阅读全文
摘要:uvm_voidThe uvm_void class is the base class for all UVM classes.uvm_object:The uvm_object class is the base class for all UVM data and hierarchical classes.uvm_object是一个uvm中data和component共同的基类,里边集成了很...
阅读全文
摘要:UVM的调度也具有其独特的挑战,尤其是在调试的领域。其中的一些挑战如下:1. Phase的管理:objections and synchronization2. 线程调试3. Tracing issues through automatically generated code, macro expansion, and parameterized classes4. 默认的错误信息详细但是难以捉...
阅读全文

浙公网安备 33010602011771号