摘要: 方便进行配置参数的多次遍历 tb的.v文件中 //get RG_huffmantype from simv in shell initial begin if($value$plusargs("RG_type=%d", RG_type)) begin RG_HuffmanType = RG_type 阅读全文
posted @ 2023-11-16 14:53 心比天高xzh 阅读(102) 评论(0) 推荐(0)
摘要: 功能介绍 产生随机测试文本或者进行功能验证 功能验证指通过分别通过verilog与python打印压缩后序列,进行文本比对。 python代码 import sys import random import argparse str_line = '' def huffmancode(RG_type 阅读全文
posted @ 2023-11-16 14:44 心比天高xzh 阅读(35) 评论(0) 推荐(0)