systemverilog用$display打印文件名和当前行号的方式:
$display("%s : %0d",`__FILE__, `__LINE__);
posted on 2025-09-02 10:53 lybinger 阅读(11) 评论(0) 收藏 举报