笔记
ideal1980
这个作者很懒,什么都没留下…
展开
-
5个1位相加和6个1位相加的verilog实现
对于5个1 位相加,先对低3位相加做组合逻辑,然后再对高两位相加做组合逻辑,然后再相加。对于6位,对高3位,低3位分别做组合逻辑,然后再相加。原创 2023-02-16 09:28:32 · 408 阅读 · 0 评论 -
DVE 查看覆盖率方法
dve -full64 -cov -covdir simv.vdb原创 2021-09-25 17:17:43 · 2614 阅读 · 0 评论 -
在MAKEFILE中的,产生出随机数的方法
在MAKEFILE中的,产生出随机数的方法在mafile中:RANDOM_SEED:=$(shell cat rand.cfg)run: perl gen_rand.pl上面的rand.cfg 是用perl文件产生的如下:gen_rand.pl#!/usr/bin/perlmy $rand_seed;open OUT,'>',"rand.cfg" or die "Error :Cannot open output file \n";$ran...原创 2021-09-25 16:51:50 · 1414 阅读 · 0 评论 -
VCS收集覆盖率选项
编译选项:-cm line+cond+tgl+branch+fsm allops+std+event运行选项:-cm line+cond+tgl+branch+fsm -cm_name ${TC}_${RANDOM_SEED}原创 2021-09-25 14:53:22 · 1019 阅读 · 0 评论 -
bin 转hex方法
bin文件转hex的方法hexdump -e ’16/2 “%02x” “hh” ’ a. txt这个意思是2个字节一组,16个字节插入hh原创 2021-06-12 10:16:07 · 725 阅读 · 0 评论