Skip to content
VLSI Mentor
All CHI labs
  1. CHI Request and Response Transactions7
  2. CHI Cache Coherency and Snoop Operations8
  3. CHI Ordering, Concurrency, and Advanced Transactions7
  4. CHI UVM Verification and Protocol Checking7
  5. CHI Expert Debugging and Subsystem Integration4
CHI-15CHI Cache Coherency and Snoop OperationsPublished

Implement a CHI Cache-Line State Tracking Model

Model the seven CHI cache-line states — I, UC, UCE, UD, UDP, SC and SD — as the Valid, Unique, Clean/Dirty and Full/Partial/Empty properties they encode, and track each line's state through requests and snoops.

Intermediate~90 min
Concepts covered
  • The seven CHI cache states
  • Unique / Shared and Clean / Dirty
  • Partial and empty lines (UDP, UCE)
Deliverable
A per-line state tracker with a table-driven test that sweeps every state against every request completion, silent action and snoop.
Prerequisites
  • Read and write flows (CHI-08 to CHI-12)
Specification
Verified against ARM IHI 0050E.a (§4.1, §4.5.2 Table 4-8, §4.5.3 Tables 4-9 and 4-11, §4.6 Table 4-13, §4.7.1 Table 4-14, §4.7.3 Table 4-20, §4.8 Tables 4-22 to 4-25). Expected columns, RetToSrc 0; SnpOnce on UDP not modelled.
This lab is part of AMBA CHI RTL Design & UVM Verification Labs

Unlock the complete lab with the AMBA CHI RTL Design & UVM Verification Labs collection.

Back to all labs