cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
yaelg111
Visitor
Visitor
1,246 Views
Registered: ‎01-02-2020

vivado 2019.2 coverage support

When trying to generate the coverage report using xcrg as explained in

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_2/ug900-vivado-logic-simulation.pdf

/home/yael/programs/Vivado/2019.2/bin/xcrg -report_format html -dir xsim.covdb

 

I recieve the following output to screen:

Options Set are :

Command Line : /home/yael/programs/Vivado/2019.2/bin/unwrapped/lnx64.o/xcrg -report_format html -dir xsim.covdb
Help : 0
File :
Input Dir[s] : xsim.covdb
Merge Dir : xsim.covdb
Merge DB Name : xcrg_mdb
Report Directory : ./xcrg_report
Report Format : html
Log File : xcrg.log
Invocation Name : /home/yael/programs/Vivado/2019.2/bin/unwrapped/lnx64.o/xcrg


Functional Coverage Report

Restoring Coverage DB[s] from :
1 xsim.covdb/rn_dp_top_tb_work.rn_dp_top_tb/xsim.covinfo
1 xsim.covdb/xcrg_mdb/xsim.covinfo


Creating Output Directory : xsim.covdb/xcrg_mdb

Saving the Coverage Info at : xsim.covdb/xcrg_mdb/xsim.covinfo

XILINX VIVADO is set as : /home/yael/programs/Vivado/2019.2/

/home/yael/programs/Vivado/2019.2/bin/loader: line 280: 10691 Segmentation fault (core dumped) "$RDI_PROG" "$@"

It seems that html reports are generated correctly but I do not understand the above segmentation fault error.

Please advise

Thanks

Yael

 

 

0 Kudos
3 Replies
bandi
Moderator
Moderator
1,242 Views
Registered: ‎09-15-2016

Hi @yaelg111 ,

Can you please share the test case with the generated coverage database and reports to check at our end

Thanks & Regards,
Sravanthi B
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
mandrews
Visitor
Visitor
1,059 Views
Registered: ‎10-20-2017

I'm not the original poster, but I am seeing the same problem. I have attached a test case containing the following files...

example.sv     : system verilog coverage example
README    
run                   : command line script showing VIvado commands
run.log             : log file from running the "run" script showing the core dump.

I'm running...
Vivado 2019.2 on Ubuntu 18.04.4 LTS

Reagrds
Mark

0 Kudos
yaelg111
Visitor
Visitor
1,007 Views
Registered: ‎01-02-2020

corethis problem is persistant for me (the original writer), xcrg report is sometimes being generated and is sometimes missing this prevents us from using coverage with vivado

please see the line below derived from the core dumped by your program:

Core was generated by `/home/yael/programs/Vivado/2019.2/bin/unwrapped/lnx64.o/xcrg -report_format htm'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __GI___libc_free (mem=0x7ffc0000000e) at malloc.c:2951
2951 malloc.c: No such file or directory.
(gdb) bt
#0 __GI___libc_free (mem=0x7ffc0000000e) at malloc.c:2951
#1 0x00000000004112af in get_all_matches(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) ()
#2 0x0000000000408737 in main ()

0 Kudos