Test Cases for the I-Cache Tests (Windows Embedded CE 6.0)

1/6/2010

For test cases 1000 through 1003, the test jumps through all locations in the I-cache randomly one time. The number of jumps is based on I-cache size. At the end of the test, the actual number of jumps is compared with a pre-calculated expected number; if they are not equal, it indicates a defective I-cache. If the numbers are the same, the I-cache is likely non-defective. For a defective I-cache, the test may crash when it is not able to jump to the next allotted location.

The random jumps are coded in Assembly to avoid code being optimized by the compiler. Assembly code is generated by a custom internal program that generates assembly code based on the processor type (x86, Mips, Arm, or Sh) and number of jumps to be generated. Currently, the I-cache testing program supports 4k, 8k, 16k, 32k, and 64k I-cache sizes.

The following table shows test cases for the I-Cache Tests.

Test case Description

1

I-Cache Tests Usage

Displays the usage message for the I-Cache Tests, describing the tests and specifying any required input.

1000

Random with 4k

Test with random jumps for an I-Cache size of 4k.

1001

Random with 8k

Test with random jumps for an I-Cache size of 8k.

1002

Random with 16k

Test with random jumps for an I-Cache size of 16k.

1003

Random with 32k

Test with random jumps for an I-Cache size of 32k.

1004

Random with 64k

Test with random jumps for an I-Cache size of 64k.

See Also

Other Resources

I-Cache Tests