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-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.

Back to all labs