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.