摘要: Useful SystemVerilog System TasksTask NameDescription$sscanf(str,format,args);$sscanf 将字符串按照某个模板格式进行扫描,其字符串格式和C语言中的printf()函数类似$sformat(str,format,args);$sformat是$sscanf的反函数。将字符串按照给定的格式填入相应的参数args中$display(format,args);$display就是Verilog的printf语句,在stdout上显示格式化的字符串$sformatf(format,args);$sformatf任务和$s 阅读全文
posted @ 2013-05-29 15:37 宙斯黄 阅读(942) 评论(0) 推荐(0)