User`s guide
18 Coverage Collection During Simulation
18-18
• The DetectOverflow function executed 100 times. The simulation of the
Counter2 block executed the DetectOverflow function an additional 50 times.
The DetectOverflow function has five decisions. The expression count >=
CounterParams.UpperLimit was true 21 times during this simulation,
compared to 0 during the first simulation. The expression count >
CounterParams.LowerLimit was never false. Four out of five decisions were
recorded during simulation, so the DetectOverflow function achieved 80%
coverage.