6
返回队列,我不能编译此代码:从功能的SystemVerilog
function integer[$] get_register_name;
integer ret[$];
ret.push_back(1);
ret.push_back(2);
return ret;
endfunction
是否有可能从一个函数返回一个队列?