当前位置:网站首页>[UVM basics] summary of important knowledge points of "UVM practice" (continuous update...)
[UVM basics] summary of important knowledge points of "UVM practice" (continuous update...)
2022-07-07 07:50:00 【ReCclay】
- All derived from uvm_component And its derived classes should use
uvm_component_utils
Macro registration .(P14) - UVM Pass through objection Mechanism to control the shutdown of the verification platform .(P14)
- At every phase in , UVM Will check if there is objection Be mentioned ( raise_objection) , If there is , So wait for this objection Revoked ( drop_objection) Then stop the simulation ; without , It will be over immediately phase.
- raise_objection Statement must be in main_phase Before the first statement that consumes simulation time in (P15)
- You cannot directly declare a interface, Only in similar top_tb Such a module (
module
) Only in the middle can . What is used in the class is virtual interface.(P17) - Here's the introduction of build_phase. And main_phase equally , build_phase It's also UVM A built-in phase. When UVM After starting , Automatically build_phase. build_phase stay new After the function main_phase Before execution . stay build_phase Mainly through config_db Of set and get Operation to pass some data , And instantiating member variables .(P18)
- Need to add
super.build_phase
sentence , Because in its parent classbuild_phase
Some necessary operations are performed in , Here you must explicitly call and execute it .build_phase
Andmain_phase
The difference is , build_phase It's a function phase, and main_phase It's a Mission phase, build_phase It does not consume simulation time . build_phase Always in simulation time ( $time The time printed by the function ) by 0 When the .
- Need to add
- No matter to run_test What are the parameters of , The names of the created instances are
uvm_test_top
(P19) - adopt parent,UVM Established a tree like organizational structure . In the organizational structure of this attribute , from run_test The instance created is the tree root , And the name of the tree root is fixed , by
uvm_test_top
; Leaves grow after the roots , The process of growing leaves needs to be in the root of the treebuild_phase
To realize .(P24)
边栏推荐
- 为什么要了解现货黄金走势?
- Leetcode sword finger offer brush questions - day 20
- [2022 actf] Web Topic recurrence
- 【数学笔记】弧度
- Is the test cycle compressed? Teach you 9 ways to deal with it
- UWB learning 1
- Few-Shot Learning && Meta Learning:小样本学习原理和Siamese网络结构(一)
- Operation suggestions for today's spot Silver
- [GUET-CTF2019]虚假的压缩包
- Redis technology leak detection and filling (II) - expired deletion strategy
猜你喜欢
Hands on deep learning (IV) -- convolutional neural network CNN
Explore Cassandra's decentralized distributed architecture
Leetcode-206. Reverse Linked List
即刻报名|飞桨黑客马拉松第三期等你挑战
【webrtc】m98 screen和window采集
MobaXterm
IO流 file
知识点滴 - 关于苹果认证MFI
You Li takes you to talk about C language 6 (common keywords)
After 95, Alibaba P7 published the payroll: it's really fragrant to make up this
随机推荐
解决could not find or load the Qt platform plugin “xcb“in ““.
@component(““)
Pytest+allure+jenkins environment -- completion of pit filling
Determining the full type of a variable
SQL优化的魅力!从 30248s 到 0.001s
大视频文件的缓冲播放原理以及实现
buuctf misc USB
电商常规问题part1
Wx is used in wechat applet Showtoast() for interface interaction
Robot technology innovation and practice old version outline
Pytest + allure + Jenkins Environment - - achèvement du remplissage de la fosse
Rxjs - observable doesn't complete when an error occurs - rxjs - observable doesn't complete when an error occurs
php导出百万数据
图解GPT3的工作原理
UWB learning 1
pytest+allure+jenkins環境--填坑完畢
ASEMI整流桥RS210参数,RS210规格,RS210封装
Route jump in wechat applet
[webrtc] m98 Screen and Window Collection
Detailed explanation of uboot image generation process of Hisilicon chip (hi3516dv300)