uvm_misc 是个很有意思的文件夹,本质上就是个UVM的杂货铺,包含一些很重要的class, task, function, 但不知道给归类到哪儿,所以,uvm_misc就很好地承担了这个任务,几乎所有的设计都会遇到这种情况。在uvm_misc中有uvm_void 的定义,uvm_status_container的定义,生成随机数种子的方法实现,以及uvm_instance_scope。

virtual class uvm_void;
endclass // Append/prepend symbolic values for order-dependent APIs
typedef enum {UVM_APPEND, UVM_PREPEND} uvm_apprepend; // Forward declaration since scope stack uses uvm_objects now
typedef class uvm_object; typedef class uvm_coreservice_t;
typedef class uvm_factory; typedef class uvm_config_db;
// m_uvm_config_obj_misc is an internal typedef for the uvm_misc.svh file
// to use. UVM users should use the uvm_config_object typedef
typedef uvm_config_db#(uvm_object) m_uvm_config_obj_misc; //----------------------------------------------------------------------------
//
// CLASS- uvm_scope_stack
//
//---------------------------------------------------------------------------- class uvm_scope_stack;
endclass //------------------------------------------------------------------------------
//
// CLASS- uvm_status_container
//
// Internal class to contain status information for automation methods.
//
//------------------------------------------------------------------------------ class uvm_status_container;
endclass // Variable- uvm_global_random_seed
//
// Create a seed which is based off of the global seed which can be used to seed
// srandom processes but will change if the command line seed setting is
// changed.
//
int unsigned uvm_global_random_seed = $urandom; // Class- uvm_seed_map
//
// This map is a seed map that can be used to update seeds. The update
// is done automatically by the seed hashing routine. The seed_table_lookup
// uses an instance name lookup and the seed_table inside a given map
// uses a type name for the lookup.
//
class uvm_seed_map;
int unsigned seed_table [string];
int unsigned count [string];
endclass uvm_seed_map uvm_random_seed_table_lookup [string]; //------------------------------------------------------------------------------
// Internal utility functions
//------------------------------------------------------------------------------ // Function- uvm_instance_scope
//
// A function that returns the scope that the UVM library lives in, either
// an instance, a module, or a package.
//
function string uvm_instance_scope();
endclass

参考文献:

1 uvm_void/uvm_scope_stack/uvm_status_container/uvm_copy_map/uvm_seed_map/misc
http://blog.sina.com.cn/s/blog_466496f30100xky5.html

最新文章

  1. Unable to create the selected property page. An error occurred while automatically activating bundle net.sourceforge.pmd
  2. 大型App要搞的几个系统
  3. King's Quest —— POJ1904(ZOJ2470)Tarjan缩点
  4. [转帖]零投入用panabit享受万元流控设备——搭建篇
  5. 可在广域网部署运行的QQ高仿版 -- GG叽叽(源码)
  6. c_test
  7. POJ2299Ultra-QuickSort(归并排序 + 树状数组求逆序对)
  8. 【ECshop错误集锦】解决ECShop发送邮件提示:Error: need RCPT command
  9. 编译mod_jk.so
  10. Visual Basic|VB 6.0中文版
  11. atol字符串转换函数应用实例
  12. List和Tuple类型
  13. project文件问题
  14. KeychainItemWrapper的使用
  15. Druid数据库连接池就这么简单
  16. C# -- 正则表达式匹配字符之含义
  17. 使用 boot-repair 对 Windows + Ubuntu 双系统引导修复
  18. WebMagic
  19. [js]this关键字代表当前执行的主体
  20. CF1120 C. Compress String(SAM+DP)

热门文章

  1. compileSdkVersion, minSdkVersion 和 targetSdkVersion详解
  2. PHP/Javascript 数组定义 及JSON中的使用 ---OK
  3. [poj2186]Popular Cows(targin缩点)
  4. codevs-1205
  5. 理解复杂的const和typedef和指针的关系
  6. linux中消息队列<一>
  7. 一个C#开发者重温C++的心路历程
  8. Codeforces 174B【模拟构造】
  9. 笔记-JavaWeb学习之旅4
  10. Elasticsearch and MongoDb