AnsweredAssumed Answered

i.MX8QXP Cortex M4 caches replacement policy

Question asked by David Binet on Jun 29, 2020
Latest reply on Jul 2, 2020 by Yuri Muhin

Hi,

 

I'm currently working on the cortex M4 in the i.MX8QXP. I want to fill both caches of the M4 (Code and System caches) with dirty entries. Once, I know both caches are filled, I want to measure how long it takes to clean an invalidate both caches. To do so, I need to know the cache replacement policy for both caches. I don't find the information in the IMX8QXP reference manual.  Is there an algorithm I can use to fill both caches with dirty entries?

 

From my understanding from previous discussion on this forum the cache linked to the TCM_L will be kind of hard to fill with dirty entries since the memory map for this region looks like this

 

 

Kind Regards,

 

David

Outcomes