Built-In Block Replacements
The Simulink® Design Verifier™ software provides a set of block replacement rules and a corresponding library of replacement blocks. Use these built-in block replacements when analyzing models. They serve as examples that you can examine to learn how to create your own block replacements.
The following table lists the factory default block replacement rules, available in the
folder. There are two implementations of each factory-default block replacement rule. Rules
whose file names end with matlabroot
\toolbox\sldv\sldv\private_normal.m
replace blocks with Subsystem
blocks.
File Name | Description |
---|---|
| A rule that replaces 1-D Lookup Table blocks with an implementation that includes test objectives for each breakpoint and interval specified by the Breakpoints parameter. |
| A rule that adds Test Condition/Proof Assumption blocks to the input ports of 2-D Lookup Table blocks. Each Test Condition/Proof Assumption block constrains signal values to the interval specified by the corresponding breakpoint vector. |
| A rule that adds a Test Condition/Proof Assumption block
to the control input port of Multiport
Switch blocks whose Number of data ports parameter
is |
| A rule that adds a Test Condition/Proof Assumption block
to the control input port of Multiport
Switch blocks whose Number of data ports parameter
is |
| A rule that adds a Test Condition/Proof Assumption block
to the control input port of Multiport
Switch blocks whose Number of data ports parameter
is |
| A rule that adds a Test Condition/Proof Assumption block
to the control input port of Multiport
Switch blocks whose Number of data ports parameter
is |
| A rule that replaces Switch blocks with an implementation that includes test objectives, requiring that each switch position be exercised when the values of the first and third input ports are different. |
| A rule that replaces Switch blocks having non-virtual bus inputs with an implementation that converts non-virtual bus inputs to virtual bus inputs. This implementation includes test objectives and requires that each switch position be exercised when the values of the first and third input ports are different. |
| A rule that adds a Test Condition/Proof Assumption block
to the index port of Selector blocks
whose Index Option parameter is |
| A rule that adds a Test Condition/Proof Assumption block
to the index port of Selector blocks
whose Index Option parameter is |
The library of replacement blocks that corresponds to the factory default rules is
matlabroot/toolbox/sldv/sldv/sldvblockreplacementlib