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-19CHI Cache Coherency and Snoop OperationsPublished

Implement CHI Snoop Filter Lookup and Update Logic

Implement an inclusive snoop filter for the Home Node: look up which requesters may hold a line, update the entry as requests and snoop responses change ownership, and handle a filter eviction by snooping out the victim line.

Intermediate~120 min
Concepts covered
  • Inclusive snoop filter
  • Lookup and update on each flow
  • Back-invalidation on filter eviction
Deliverable
A set-associative snoop filter model with tests showing it removes unnecessary snoops and never misses a holder.
Prerequisites
  • HN snoop controller (CHI-16)
  • Snoop responses (CHI-17)
Specification
Verified against ARM IHI 0050E.a (§4.4, §4.6 Table 4-13, §4.8.1 Table 4-25, §4.9, §13.9 Table 13-8, §13.10.35). Implementation-defined structure: CHI does not specify a snoop filter, so its organisation here (sets, ways, tag split, round-robin victims) is this lab's own; the Home's normal snoops are applied to a cache model, only back-invalidations travel as flits.
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