当前位置:网站首页>factory type_id::create过程解析
factory type_id::create过程解析
2022-07-01 08:16:00 【小胖子果果】
以component为例介绍;首先介绍一下component注册到factory,component利用uvm_component_utils宏来注册到factory内。
uvm_component_utils
宏内容如下:
其包含如下两个宏:
m_uvm_component_registry_internal
宏内容如下,从该宏中可以知道type_id的来源。
m_uvm_get_type_name_func
宏内容如下,report内常常使用的get_type_name就来自与这个宏。
create来源自uvm_component_registry
create函数调用factory内的create_component_by_type。
create_component_by_type函数
边栏推荐
- Conception et mise en service du processeur - chapitre 4 tâches pratiques
- SPL-介绍(一)
- Yolov5进阶之七目标追踪最新环境搭建
- Comprehensive experiment Li
- Field agricultural irrigation system
- [Yu Yue education] Shandong Vocational College talking about railway reference materials
- 软键盘高度报错
- leetcode T31:下一排列
- 2022.2.15
- Use threejs simple Web3D effect
猜你喜欢
使用beef劫持用戶瀏覽器
Gateway-88
机动目标跟踪——当前统计模型(CS模型)扩展卡尔曼滤波/无迹卡尔曼滤波 matlab实现
Intelligent water supply system solution
P4 installation bmv2 detailed tutorial
Practice and Thinking on the architecture of a set of 100000 TPS im integrated message system
0 basic introduction to single chip microcomputer: how to use digital multimeter and precautions
P4 安装bmv2 详细教程
Embedded-c language-10-enumeration / (function) pointer (function) / multi-level pointer /malloc dynamic allocation / file operation
Conception et mise en service du processeur - chapitre 4 tâches pratiques
随机推荐
[untitled]
How can beginners correctly understand Google's official suggested architectural principles (questions?)
Maneuvering target tracking -- current statistical model (CS model) extended Kalman filter / unscented Kalman filter matlab implementation
SPL-安装与基本使用(二)
slice扩容机制分析
华为机试真题专栏订阅指引
To prevent "activation" photos from being muddled through, databao "live detection + face recognition" makes face brushing safer
01 NumPy介绍
程序员养生宝典
Provincial election + noi Part III tree problems
Download jackson codehaus. org jar - downloading jackson. codehaus. org jar
[untitled]
量化交易之读书篇 - 《征服市场的人》读书笔记
uni 热更新
数字转excel的字符串坐标
DID的使用指南,原理
Leetcode t31: next spread
Find the nearest n-th power of 2
Adding color blocks to Seaborn clustermap matrix
[staff] high and low octave mark (the notes in the high octave mark | mark range are increased by one octave as a whole | low octave mark | mark range are decreased by one octave as a whole)