来自专栏 · Systemverilog 1 人赞同了该文章 作用:格式化字符串,将数据格式化为字符串,并返回一个string类型字符; 创建一个格式化字符串,但不写入到输出log,而是将结果分配给一个变量,然后自行决定如何使用这个字符串; 例子:string_tmp = $psprintf(“%s %d”,hello 8); 结果 string_tmp=“hell
Hi, All - There are many references to $psprintf on this forum and two references in the OVM Reference Guide, even though the SystemVerilog committee rejected the standardization of $psprintf since the language already …