All CHI labs
AMBA CHI RTL Design & UVM Verification Labs
Lab 35of 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-35CHI UVM Verification and Protocol CheckingPublished
Implement CHI Protocol Error Injection and Negative Testing
Inject protocol errors through the agent — a duplicate TxnID, a flit without a credit, a missing CompAck, a response with the wrong opcode — and prove each is detected by the intended checker and no other.
Advanced~120 min
Concepts covered
- Controlled error injection
- Expected-error tests
- Checker attribution
- Deliverable
- A negative-test suite where every injected error is reported once, by the checker meant to catch it.
- Prerequisites
- Protocol assertions (CHI-33)
- Reference model (CHI-32)
- Specification
- Verified against ARM IHI 0050E.a (§2.5, §2.6.1, §2.8.3 Table 2-9, §4.11.2, §13.11, §14.2, §14.5 Tables 14-2 and 14-3). CHI-33's system and assertions; each error is shown to the checkers only, so the checkers' detection and attribution are tested, not the design's robustness; the CompAck bound is this lab's; no checker watches snoop answers; one seed.
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.
