当前位置:网站首页>[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_utilsMacro 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_phasesentence , Because in its parent classbuild_phaseSome necessary operations are performed in , Here you must explicitly call and execute it .build_phaseAndmain_phaseThe 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_phaseTo realize .(P24)
边栏推荐
猜你喜欢
![[webrtc] m98 Screen and Window Collection](/img/b1/1ca13b6d3fdbf18ff5205ed5584eef.png)
[webrtc] m98 Screen and Window Collection

海思芯片(hi3516dv300)uboot镜像生成过程详解

Operation suggestions for today's spot Silver
![[2022 CISCN]初赛 web题目复现](/img/1c/4297379fccde28f76ebe04d085c5a4.png)
[2022 CISCN]初赛 web题目复现
![[Stanford Jiwang cs144 project] lab3: tcpsender](/img/82/5f99296764937e7d119b8ab22828fd.png)
[Stanford Jiwang cs144 project] lab3: tcpsender

今日现货白银操作建议

3、 High quality programming and performance tuning practical youth training camp notes

nacos

resource 创建包方式

You Li takes you to talk about C language 6 (common keywords)
随机推荐
【webrtc】m98 screen和window采集
Button wizard collection learning - mineral medicine collection and running map
测试周期被压缩?教你9个方法去应对
[UTCTF2020]file header
MobaXterm
pytest+allure+jenkins安装问题:pytest: error: unrecognized arguments: --alluredir
JSON introduction and JS parsing JSON
idea添加类注释模板和方法模板
【数学笔记】弧度
[OBS] win capture requires winrt
@component(““)
[P2P] local packet capturing
Tencent's one-day life
gatk4中的interval是什么??
leetcode:105. Constructing binary trees from preorder and inorder traversal sequences
The metauniverse of the platofarm farm continues to expand, with Dao governance as the core
Tongda injection 0day
通信设备商,到底有哪些岗位?
Wx is used in wechat applet Showtoast() for interface interaction
IO流 file