当前位置:网站首页>[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)
边栏推荐
- 科技云报道:从Robot到Cobot,人机共融正在开创一个时代
- nacos
- Route jump in wechat applet
- resource 创建包方式
- Tongda injection 0day
- PHP exports millions of data
- Regular e-commerce problems part1
- 开源生态|打造活力开源社区,共建开源新生态!
- 【斯坦福计网CS144项目】Lab3: TCPSender
- The configuration that needs to be modified when switching between high and low versions of MySQL 5-8 (take aicode as an example here)
猜你喜欢
3、 High quality programming and performance tuning practical youth training camp notes
Codeforces Global Round 19
Leetcode-543. Diameter of Binary Tree
2022-07-06: will the following go language codes be panic? A: Meeting; B: No. package main import “C“ func main() { var ch chan struct
Is the test cycle compressed? Teach you 9 ways to deal with it
[Stanford Jiwang cs144 project] lab4: tcpconnection
Redis data migration
通信设备商,到底有哪些岗位?
misc ez_ usb
【经验分享】如何为visio扩展云服务图标
随机推荐
[CV] Wu Enda machine learning course notes | Chapter 8
科技云报道:从Robot到Cobot,人机共融正在开创一个时代
【性能压测】如何做好性能压测?
buuctf misc USB
Why is the row of SQL_ The ranking returned by number is 1
Pytest+allure+jenkins installation problem: pytest: error: unrecognized arguments: --alluredir
在线直播系统源码,使用ValueAnimator实现view放大缩小动画效果
面试结束后,被面试官在朋友圈吐槽了......
A bit of knowledge - about Apple Certified MFI
Leetcode-206. Reverse Linked List
BGP experiment (1)
[P2P] local packet capturing
【VHDL 并行语句执行】
php导出百万数据
PHP exports millions of data
MobaXterm
Pytorch parameter initialization
[webrtc] m98 Screen and Window Collection
UWB learning 1
CTF daily question day43 rsa5