All CHI labs
AMBA CHI RTL Design & UVM Verification Labs
Lab 19of 40
- 1Model CHI Request Node, Home Node, and Subordinate Node Interfaces
- 2Design CHI REQ, RSP, SNP, and DAT Channel Interface Structures
- 3Implement CHI Link Activation and Deactivation Control
- 4Design CHI Link-Level Credit-Based Flow Control
- 5Implement CHI Flit Transmission and Reception with Credit Accounting
- 6Build a CHI Flit Field Decoder and Protocol Legality Checker
- 7Develop a UVM Monitor for CHI Channel-Level Transactions
- 8Implement a CHI ReadShared Transaction Controller
- 9Design a CHI ReadUnique Transaction Flow
- 10Implement CHI ReadOnce Transaction Handling
- 11Design CHI WriteUnique Transaction Processing
- 12Implement CHI WriteBack Transaction Handling
- 13Design CHI Transaction ID Allocation and Response Matching
- 14Build a UVM Scoreboard for CHI Read and Write Transactions
- 15Implement a CHI Cache-Line State Tracking Model
- 16Design a CHI Home Node Snoop Request Controller
- 17Implement CHI Snoop Response Generation
- 18Design CHI Snoop Data Transfer Handling
- 19Implement CHI Snoop Filter Lookup and Update Logic
- 20Design CHI Directory-Based Sharer Tracking
- 21Verify CHI Cache-Line Ownership and State Transitions Using UVM
- 22Build a CHI Coherency Scoreboard for Multi-Node Transactions
- 23Implement CHI Multiple Outstanding Transaction Tracking
- 24Design CHI Transaction Ordering and Dependency Enforcement
- 25Implement CHI CompAck Handling and Transaction Completion Tracking
- 26Design CHI RetryAck and Protocol Credit Grant Handling
- 27Implement CHI Data Buffer Management for Concurrent Transactions
- 28Verify CHI Atomic Transaction Behavior
- 29Build a UVM Test for Concurrent CHI Read, Write, and Snoop Traffic
- 30Build a Reusable CHI UVM Agent with Channel-Specific Drivers and Monitors
- 31Develop CHI Constrained-Random Request and Response Sequences
- 32Implement a CHI Protocol-Aware UVM Reference Model
- 33Design CHI Protocol Assertions for Channel and Transaction Rules
- 34Create CHI Functional Coverage for Opcodes, Responses, and Coherency States
- 35Implement CHI Protocol Error Injection and Negative Testing
- 36Verify CHI Link Reset, Credit Recovery, and In-Flight Transaction Handling
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.
