cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jjf
Visitor
Visitor
275 Views
Registered: ‎01-20-2021

Questa Sim code coverage

I am trying to run code coverage on my Vivado design.  In Questa Sim I am not getting coverage numbers for Vivado library components.

Is there a way to compile vivado library with code coverage enabled or is there another way to get code coverage for library components?

The example I am trying is the processor_system_reset IP, questa only give me toggle coverage  but not code coverage.

 

Tags (1)
0 Kudos
1 Reply
ansarimo
Xilinx Employee
Xilinx Employee
146 Views
Registered: ‎12-04-2019

Hi @jjf 

You can now generate a code coverage report in Vivado 2021.1, it supports the statement, branch, and conditional coverages.

For more information on how to enable and generate code coverage reports in Vivado 2021.1, please refer to the following UG:https://www.xilinx.com/support/documentation/sw_manuals/xilinx2021_1/ug900-vivado-logic-simulation.pdf

Specify the code coverage type in the Xelab command and then refer to xcrg command for report generation.

Hope this helps.

 

Thanks and Regards,

Ansari Hunen

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as a solution.
-------------------------------------------------------------------------

0 Kudos