当前位置:网站首页>[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)
边栏推荐
- 微信小程序中的路由跳转
- misc ez_ usb
- Robot technology innovation and practice old version outline
- Explore Cassandra's decentralized distributed architecture
- [unity] several ideas about circular motion of objects
- Bi she - college student part-time platform system based on SSM
- Why should we understand the trend of spot gold?
- 直播平台源码,可折叠式菜单栏
- Resource create package method
- Detailed explanation of Kalman filter for motion state estimation
猜你喜欢
随机推荐
Few-Shot Learning && Meta Learning:小样本学习原理和Siamese网络结构(一)
Why is the row of SQL_ The ranking returned by number is 1
SQL优化的魅力!从 30248s 到 0.001s
[ANSYS] learning experience of APDL finite element analysis
Build personal website based on flask
What is the interval in gatk4??
Wx is used in wechat applet Showtoast() for interface interaction
Asemi rectifier bridge rs210 parameters, rs210 specifications, rs210 package
为什么要了解现货黄金走势?
About some details of final, I have something to say - learn about final CSDN creation clock out from the memory model
Pytest+allure+jenkins installation problem: pytest: error: unrecognized arguments: --alluredir
What is the difference between TCP and UDP?
Problem solving: unable to connect to redis
misc ez_ usb
gatk4中的interval是什么??
Leetcode 43 String multiplication (2022.02.12)
Detailed explanation of uboot image generation process of Hisilicon chip (hi3516dv300)
../ And/
今日现货白银操作建议
【p2p】本地抓包