2016年12月9日

SystemVerilog 带输出的task

摘要: 从task或function中返回数组的方法。 1、task 的定义,输出定义为数组。 这种代码适合从存储器中根据地址和长度信息,抽取数据到动态数组中; 2、通过函数名返回数组。 1 typedef int fixed_array5[5]; 2 fixed_array5 f5; 3 function 阅读全文

posted @ 2016-12-09 18:58 hematologist 阅读(1219) 评论(0) 推荐(0) 编辑

导航