User`s guide
16 Model Objects That Receive Model Coverage
16-18
of them independently set the output to true for at least one time step and how many
independently set the output to false for at least one time step.
1-D Lookup Table
The 1-D Lookup Table block receives lookup table coverage; for a one-dimensional lookup
table, the number of input and output break points is equal. Lookup table coverage
measures:
• The number of times during simulation that the input and output values are between
each of the break points.
• The number of times during simulation that the input and output values are below
the lowest break point and above the highest break point.
The total number of coverage points for a one-dimensional lookup table is the number of
break points in the table plus one. In the coverage report, an increasing white-to-green
color scale, with six evenly spaced data ranges starting with zero, indicates the number
of time steps that the software measures each interpolation or extrapolation point.
The software determines a percentage of total coverage by measuring the total
interpolation and extrapolation points that achieve a measurement of at least one time
step during simulation between a break point or beyond the end points.
If you select the Saturate on integer overflow coverage metric, the 1-D Lookup Table
block receives saturate on integer overflow coverage. For more information, see “Saturate
on Integer Overflow Coverage”. The software treats each element of a vector or matrix as
a separate coverage measurement.
2-D Lookup Table
The 2-D Lookup Table block receives lookup table coverage. For a two-dimensional
lookup table, the number of output break points equals the number of row break points
multiplied by the number of column inputs. Lookup table coverage measures:
• The number of times during simulation that each combination of row input and
column input values is between each of the break points.
• The number of times during simulation that each combination of row input and
column input values is below the lowest break point and above the highest break
point for each row and column.