
tools
lbt_dvshare
这个作者很懒,什么都没留下…
展开
-
[VCS] merge coverage
部分merge到整体采用 mapfile option原创 2021-06-08 20:04:40 · 2036 阅读 · 0 评论 -
[Questa] SolveArrayResizeMax error
Description** Error: (vsim-7020) ...: Illegal attempt to resize random dynamic array 'XXX' to 156416 elements. (SolveArrayResizeMax=10000)vsim -vlog Message # 7020:A call to randomizer() resulted in an attempt to resize a randomdynamic array to a val原创 2021-03-29 11:32:16 · 474 阅读 · 3 评论 -
[TOOLS] 解决Verdi 无法打开部分波形
使用Verdi dump waveform经常会遇到部分信号无法打开,可尝试一下办法:1. 查看filelist中是否加入-v ,如果加入-v 则把他删除;2. 如果去掉-v 后仍然无法打开信号,编译选项加入 -debug_access,-debug_region=cell+lib; 也可以把-debug_access+all换成-debug_all试试,两者的区别如下: 查看是否存在+nocelldefinepli+,如果有则删除; +nocelld...原创 2020-05-29 21:59:22 · 16990 阅读 · 1 评论 -
[VCS] coverage hierachy exclude
unix> urg -dir simv.vdb -hier ex_listunix> dve -cov -dir simv.vdb -hier ex_listex_list:the “-” stand for excludes+tree top.dut-tree top.dut.sram_ctrl也可以在compile option 加入-...原创 2017-03-30 11:10:33 · 1996 阅读 · 0 评论 -
[Tools] P4 应用
来点PERFORCE 应用实例。function : 把当前workspace中的所有文件(local file & P4 file)打成labelcmd: p4 labelsync , p4 shelve, p4 unshelve, p4 revert , p4 change , p4 info, p4 changes, p4 label#!/usr...原创 2019-12-04 21:50:01 · 649 阅读 · 0 评论 -
[VCS]利用ucli 控制dump waveform
可以通过编写control file(ulci.do) 来控制dump waveform#file ucli.do#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++run 1ms//每fsdb每满500M就切一个file,最多生成100个call {$fsdbAutoSwitchDumpfil...原创 2019-10-18 16:24:42 · 7657 阅读 · 0 评论 -
【tools】画时序图
link:https://wavedrom.com/editor.htmlguide:https://wavedrom.com/tutorial.html其中:{signal: [ {name: 'clk', wave: 'P...........|...'}, {name: 'data', wave: 'x.3....5....x...', data: ['data_0...原创 2019-08-21 09:49:52 · 543 阅读 · 0 评论 -
[Questa] mini test
vlog test.svvsim test -solvefaildebug=2 -sv_seed random -bacth -do ucil.do其中: vlog – compile test.sv – test file vsim – simulation test– test module name...原创 2019-04-30 14:55:37 · 346 阅读 · 0 评论 -
[Tool] Verdi 用法(dump waveform)
1.1 Basic Usage(add in top module)Specifying fsdb file: $fsdbDumpfile(file_name,file_size(MB)) Dumping fsdb information: $fsdbDumpvars(depth, instance, options) Depth: 0: all signals in all s...原创 2019-01-23 09:29:02 · 43675 阅读 · 2 评论 -
[tool] perforce
p4 resolve-am或-as参数-am表示accept merged,具体为如果theirs与base一致,接受yours,如果yours与base一致,接受theirs,如果yours和theirs都与base不同,但是yours和theirs没有冲突,接受自动merged的结果,否则如果yours和theirs也有冲突,则忽略此文件。-as比-am更严谨,不管yours与t...原创 2019-01-14 17:05:39 · 790 阅读 · 0 评论 -
[vcs]file list 寫法
vcs 通過吃file list 對 bench 進行 compile,那file list有哪些需要注意的呢?(以package為例)1. 先寫top_define的絕對路徑,它主要包括env要用的define和macro;2. 加入uvm library (路徑僅示範) +incdir+/proj/UVM/uvm/latest/src/ +incdir+/p...原创 2019-01-18 10:50:13 · 9554 阅读 · 0 评论 -
[vcs] seed 產生
testbench一切随机变量都是和vcs的 +ntb_random_seed 变量相关。这个option的值相当于所有random var的种子,有几种比较差的做法:1. 从一个固定数开始递增或递增, 这样,seed之间相差不大,testbench中的随机数其实变化不是特别大,所以达不到很随机去验证的目的。如果有10个rand int var, seed =1 和seed = 2两次仿真的结束...转载 2019-01-04 14:21:19 · 8211 阅读 · 3 评论 -
[VCS] coverage temp test file name
在用vcs regression收coverage時,默認狀態下,test name 是 xxx_test_0,xxx_test_1;在simv.vdb中test_data就是收集這些test的coverage,但這樣有一個弊端:相同名字的test會把老的test coverage data蓋掉;解決的方法:1. 每次regression test name 都不一樣;2. 在vcs ...原创 2018-12-18 17:03:02 · 928 阅读 · 0 评论 -
【VCS】debug hang
Compile the design using -debug_all switch. >> vcs -debug_all <other options> Load the executable in UCLI/GUI >> simv -ucli (or -gui) source the loop_detect.tcl u...原创 2018-09-13 16:19:58 · 2447 阅读 · 2 评论 -
vcs对verdi 的database提前编译
VCS uses VCS compiler scripts to compile the Knowledge Database (KDB) for Verdi. Consequently,only one common compiler script needs to be maintained for both VCS and Verdi, ensuring consistency betwe...原创 2018-04-06 21:01:33 · 6857 阅读 · 0 评论