필터 지우기
필터 지우기

Cove coverage in Questasim while Cosimulating with Simulink

조회 수: 5 (최근 30일)
Prashant Kumar
Prashant Kumar 2024년 5월 14일
댓글: Prashant Kumar 2024년 5월 21일
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

채택된 답변

Shubham
Shubham 2024년 5월 21일
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
Prashant Kumar
Prashant Kumar 2024년 5월 21일
Thank you for your answer Shubham.
Meanwhile I find an another way to enable code coverage. You can make the changes mentioned below in Simulation options of CoSimulation Wizard tool.
-t 1ns -coverage -voptargs="+cover=sbceft"
You will get code coverage in Questasim tool During cosimulation using this command.
Thank you again.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Check Test Coverage에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by