필터 지우기
필터 지우기

How to create testcases to obtain 100% table coverage for lookup tables using simulink design verifier?

조회 수: 2 (최근 30일)
I want to use SLDV to create test cases for subsystems contains lookup tables(such as direct n-D lookup table, lookup table dynamic...) to obtain full coverage.
However, I found it is difficult for SLDV to get full coverage on these blocks. I tried to use block replacement, but there is no built-in replacement for look-up table dynamic, how can I solve these? Do I need to write my own block replacement script? I hope someone can give me suggestions, thanks!!
  댓글 수: 1
Pat Canny
Pat Canny 2022년 3월 31일
This is an excellent question!
I have passed this question along to our software development team to suggest the best approach, but this is certainly something we have heard from customers.

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

답변 (1개)

Prateek Khandelwal
Prateek Khandelwal 2022년 4월 4일
Hi Rui,
SLDV doesn't support Look Up Table coverage.
We have shipped an example in R2020a that illustrates usage the of Block Replacement feature for generating testcases corresponding to the four corner values of a 2-D Look Up table. You can access the example here.
This example ships with a custom replacement block InstrumentLUTForCornerValueCoverage and you can modify it to address your usecase.
Hope this helps !

카테고리

Help CenterFile Exchange에서 Best Practices for Simulink Design Verifier Analysis에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by