Skip to content

amba-chi · Topic

CHI Cache States & Transitions

CHI's cache state encoding, legal transitions, dirty data handling and the state tables that define correct behaviour.

CHI's states carry two independent pieces of information — whether the line may be read or written, and who is responsible for writing it back. Conflating them is the usual source of confusion: a line can be shared and still dirty, which means a sharer owes memory a writeback. The state tables exist precisely because the combinations are not intuitive.

Lessons in this topic(7)

Start hereThe CHI Cache StatesCHI Cache States
  1. 2State Transitions
  2. 3Ownership in CHI
  3. 4Sharing in CHI
  4. 5Dirty Data Handling
  5. 6The CHI State Tables
  6. 7Common State Bugs