Cove coverage in Questasim while Cosimulating with Simulink
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Prashant Kumar
le 14 Mai 2024
Commenté : Prashant Kumar
le 21 Mai 2024
Hi All,
I'm trying to get code coverage analysis report while cosimulation of generated HDL code through Questasim in Simulink. I'm getting blank results in coverage analysis section of Questasim. Can you please help me to get code coverage details ? Thanks in Advance.
Matlab: 2022b
Questasim: 2020.1
0 commentaires
Réponse acceptée
Shubham
le 21 Mai 2024
Hey Prashant,
Please ensure that you have enabled proper flags for your QuestaSim simulation. For example you could use the option "+fcover" to enable function coverage during the simulation.
You can save your report in a UCDB file and then generate the result in a html file.
vcover report -details -html result.ucdb
I would suggest to first try to get code coverage report by following the example for generating code coverage report using QuestaSim:
I hope this helps!
1 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Check Test Coverage dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!