All CHI labs
AMBA CHI RTL Design & UVM Verification Labs
Lab 21of 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-21CHI Cache Coherency and Snoop OperationsPublished
Verify CHI Cache-Line Ownership and State Transitions Using UVM
Verify that every requester's cache-line state changes only in ways the subset permits, by predicting each transition from observed requests, responses and snoops and comparing it against the model.
Intermediate~135 min
Concepts covered
- State-transition prediction
- Ownership checking
- Illegal-transition detection
- Deliverable
- A UVM state-tracking checker with a planted illegal transition it must catch.
- Prerequisites
- Cache-line states (CHI-15)
- Snoop data transfer (CHI-18)
- Read/write scoreboard (CHI-14)
- Specification
- Verified against ARM IHI 0050E.a (§2.6, §2.8.3 Table 2-9, §2.10.3, §4.6 Table 4-13, §4.7.1 Table 4-14, §4.7.3 Table 4-20, §4.8.1 Tables 4-22 to 4-25, §4.10, §4.11). One RN-F with four lines and one request outstanding; states only, line data not modelled; the Home is a UVM model that keeps §2.8.3 and §4.11.2; RetToSrc 0; a STORE to an SD line (CleanUnique) is outside the subset.
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.
