首页 > 其他 > 详细

itoa函数的应用

时间:2018-11-09 11:19:59      阅读:178      评论:0      收藏:0      [点我收藏+]

uvm_event e_debug[NUM];

uvm_event_pool tb_pool;

string num1;

genvar i;

generate

  for(i=0; i<NUM; i++)begin

    iniital begin

      if(i==0) tb_pool = uvm_event_pool::get_global_pool();

      num1.itoa(i);

      e_debug[i] = tb_pool.get({“e_debug_”,num1});

    end

  end

itoa函数的应用

原文:https://www.cnblogs.com/lybinger/p/9933976.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!