• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

SOC/IP验证工程师

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

View Post

systemverilog中层次与路径的区别

uvm_top = uvm_root::type_id::create("__top__", null);
uvm_test_top = my_casen::type_id::create("uvm_test_top", this);
env = my_env::type_id::create("env", this);
i_agt = my_agent::type_id::create("agt", this);
层次结构:uvm_test_top.env.i_agt;
路径:uvm_test_top.env.agt;
i_agt = my_agent::type_id::create("agt", this);
get_name();------->agt;
get_full_name();-->uvm_test_top.env.agt;
get_type();------->i_agt;
get_type_name();-->my_agt;

posted on 2023-11-10 19:43  SOC验证工程师  阅读(187)  评论(0)    收藏  举报

刷新页面返回顶部
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3