フィルターのクリア

Simulink Design Verifier Dead Logic

2 ビュー (過去 30 日間)
Man Sun
Man Sun 2017 年 5 月 29 日
回答済み: Nikhilesh 2023 年 1 月 18 日
I have recently used simulink design verifier to check my state machine model. And some dead logics are detected. But in fact this dead logic is resulted from the execution order. Here is an example: State A is active when transition 1 [a>20] is true, State B is active when transition 2 [a<=20] is active. And the execution order is that first the transition 1 will be checked and then transition 2. My Simulink Design Verifier told me that transition 2 can not be false. The reason behind is that every time when a>20 the transition 1 will be firstly checked and fulfilled. The system goes directly in state A. So the transition 2 will not be checked.
Now the model should be optimized to avoid this error detection with Design Verifier. Has anybody ideas?
  2 件のコメント
Pat Canny
Pat Canny 2018 年 5 月 16 日
What is the possible range of values for your variable a?
galaxy
galaxy 2019 年 11 月 14 日
Yes, I have same problem.
8.PNG
Red line is dead logic, data type of input1 and input2 are int16.
Could you please explain to me??

サインインしてコメントする。

回答 (1 件)

Nikhilesh
Nikhilesh 2023 年 1 月 18 日

カテゴリ

Help Center および File ExchangeVerification, Validation, and Test についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by