Software initialization – Caches (M5150 Software Users Manual)

This topic contains 1 reply, has 2 voices, and was last updated by  ChrisImgtec 2 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #31942


    What are the mandatory software initializations that need to be done for the cache ?

    On one hand – in Chapter 9.Hardware and Software Initialization of the M5150 Core ->9.2.3 Caches:
    The manual specify the need to initialize to an invalid state using the CACHE instruction (typically the Index Invalidate function) every tag in the cache.

    And on the other hand – in the Chapter 14. M5150 Processor Core Instructions -> Perform Cache Operation: Table 14.18 -> Code 0b011 / 0b010:
    In the Operation column it is written that – ” This required encoding may be used by software to initialize the entire instruction or data caches…”




    There are several way to initialize the instruction and data caches. I use Index Store Tag which invalidates a cache line. See: for caches video, slides and example code for more information.

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.