0 trivial:UVM的空壳平台

原始代码及log

cpp 复制代码
package pkg;

import uvm_pkg::*;
`include "uvm_macros.svh"

class my_component extends uvm_component;

  function new(string name, uvm_component parent);
    super.new(name, parent);
  endfunction

  task run_phase(uvm_phase phase);
    phase.raise_objection(this);
    `uvm_info("component", "hello out there!", UVM_MEDIUM)
    phase.drop_objection(this);
  endtask

endclass

endpackage

module test;
   import uvm_pkg::*;
   import pkg::*;
   my_component t;
   
   initial begin
      t = new("Top", null);
      run_test();
   end
endmodule // test



----------------------------------------------------------------

  ***********       IMPORTANT RELEASE NOTES         ************

  You are using a version of the UVM library that has been compiled
  with `UVM_NO_DEPRECATED undefined.
  See http://www.eda.org/svdb/view.php?id=3313 for more details.

      (Specify +UVM_NO_RELNOTES to turn off this notice)

UVM_INFO @ 0: reporter [RNTST] Running test ...
UVM_INFO ../../../src/base/uvm_objection.svh(1267) @ 0: reporter [TEST_DONE] 'run' phase is ready to proceed to the 'extract' phase

--- UVM Report Summary ---

** Report counts by severity
UVM_INFO :    2
UVM_WARNING :    0
UVM_ERROR :    0
UVM_FATAL :    0
** Report counts by id
[RNTST]     1
[TEST_DONE]     1
$finish called from file "../../../src/base/uvm_root.svh", line 430.
$finish at simulation time                    0
           V C S   S i m u l a t i o n   R e p o r t 
Time: 0 ns

"trivial" :"微不足道的"或"简单的"

上面是极其简单的UVM用例,算起走入UVM的钥匙,没啥好分析的

相关推荐
Fairy要carry几秒前
实习07-混合大模型的学习
学习
华清远见IT开放实验室5 分钟前
AI 算法核心知识清单(深度实战版1)
人工智能·python·深度学习·学习·算法·机器学习·ai
_李小白10 分钟前
【OSG学习笔记】Day 40: EventCallback(事件回调)
笔记·学习
世人万千丶11 分钟前
开源鸿蒙跨平台Flutter开发:步数统计应用
学习·flutter·华为·开源·harmonyos·鸿蒙
爱宇阳24 分钟前
Supabase Self-Hosting with Docker 学习笔记
笔记·学习·docker
盟接之桥37 分钟前
盟接之桥®说制造:从“制造”到“智造”,以品类品牌重塑制造业的生态未来
大数据·网络·人工智能·学习·制造
迷你可可小生38 分钟前
图像视觉面经学习(一)
图像处理·人工智能·python·学习
自信150413057591 小时前
重生之从0开始学习c++之类与对象(中)
c++·学习
AI_零食1 小时前
开源鸿蒙跨平台Flutter开发:快递单号批量查询应用
学习·flutter·华为·开源·harmonyos·鸿蒙
四谎真好看1 小时前
Redis学习笔记(高级篇2)
redis·笔记·学习·学习笔记