2.16 Measure Coverage [Simulator]

This section describes coverage measurements that are conducted using the coverage function.

There are several kinds of coverage measurement methods. Of these, CS+ performs, in areas designated below, a code coverage measurement of fetch-related operations on source lines and functions (C0 coverage) and a data coverage measurement of access-related operations on variables.

The areas in which CS+ performs coverage measurements are as follows:

 

-

1 MByte space of addresses 0x000000 to 0x0FFFFF in the internal ROM area (fixed measurement area)

-

Any 1 MByte space other than the fixed measurement area above (see "2.16.1 Configure the coverage measurement")

Remark 1.

C0 coverage: Instruction coverage (statement coverage)
For example, if all instructions (statements) in code are executed at least once, then C0 = 100%.

Remark 2.

For "coverage measurements" for a microcontroller that supports multi-core, see also to "2.8 Select a Core (PE)".