There are no items in your cart
Add More
Add More
| Item Details | Price | ||
|---|---|---|---|
Instructor: ShivaLanguage: english
The DUT consists of two devices: an Upstream device and a Downstream device, connected together through a PCIe link. The testbench is designed with two separate environments, one for the upstream device and one for the downstream device. Since both environments are almost identical in structure and functionality, it is sufficient to explain only one of them in detail.
Interfaces
Interfaces are mainly used to simplify DUT and Testbench connections, bundle related signals, and improve reusability. There are two interfaces in the testbench:
LPIF Interface
Located between the Physical Layer and the Data Link Layer.
Three agents use this interface:
PIPE Interface
Located between the Logical part and the Electrical part of the Physical Layer.
Three agents use this interface:
Sequence Items
There are four types of sequence items used in the testbench:
| Sequence Item |
Description |
| LPIF sequence item |
Used in TX Master and RX Passive agents to send/receive stimulus via LPIF. Also used for communication between LPIF-related components such as scoreboard and coverage model. |
| PIPE sequence item |
Used in TX Slave and RX Slave agents to send/receive stimulus via PIPE. Also used for communication between PIPE-related components such as scoreboard and coverage model. |
| LTSSM1 sequence item |
Simplified version of PIPE sequence item used to drive LTSSM through PIPE interface. |
| LTSSM2 sequence item |
Simplified version of LPIF sequence item used to drive LTSSM through LPIF interface. |
These sequence items are generated by sequences to send stimulus to the DUT or to enable communication between testbench components.
Sequences
Sequences allow testbench developers to create random, constrained-random, or directed stimulus patterns to verify different DUT scenarios. They run on a sequencer that coordinates with the driver to pass sequence items to the DUT.
Types of Sequences
Reset Sequences
Linkup Sequences
Force Detect Sequence
Data Transmission Sequences
Used to generate and transmit:
Error Injection Sequences
Used to inject errors into packets exchanged between downstream and upstream devices. This is achieved through a non-UVM component called the Adapter that connects both devices.
Note: Virtual sequences coordinate sequences of the same or different types so they operate together in synchronization.
Agents
An agent encapsulates all verification components related to an interface — driver, monitor, sequencer — into a reusable configurable unit.
There are six agents:
TX Master Agent
This agent plays a major role in data transmission operations.
Data transmission sequences start on the TX Master sequencer, delivering stimulus to the TX Master driver, which drives it to the TX of the DUT through LPIF.
Components
RX Passive Agent
This agent is passive because it contains no driver or sequencer.
Its main role is to extract received TLP and DLLP packets from LPIF and send them to:
Components
TX Slave Agent
Monitors packets sent through the PIPE interface, especially ordered sets.
Components
RX Slave Agent
Monitors packets received through PIPE.
Components
LTSSM1 / LTSSM2 Agents
Used to initiate LTSSM signals to prepare link-up.
Components
Scoreboards
A scoreboard verifies DUT correctness by comparing actual output with expected output.
There are two scoreboards:
PIPE Scoreboard
Checks:
LPIF Scoreboard
Checks received data by comparing it with transmitted data from the other device:
Coverage Models
Coverage models measure how much of the design has been tested. Their goal is to evaluate stimulus effectiveness and identify untested scenarios.
There are two coverage models:
LPIF Coverage Model
Covers:
PIPE Coverage Model
Covers:
Adapter
The Adapter is a non-UVM component located midway between upstream and downstream devices.
Functions
1. Packet Bypass
Allows normal PCIe operation by passing packets directly.
2. Error Injection
Deliberately inserts faults or protocol violations into:
Purpose:
To test DUT robustness, error handling, and recovery mechanisms.
Learn live with top educators, chat with teachers and other attendees, and get your doubts cleared.
Our curriculum is designed by experts to make sure you get the best learning experience.
Interact and network with like-minded folks from various backgrounds in exclusive chat groups.
Stuck on something? Discuss it with your peers and the instructors in the inbuilt chat groups.
With the quizzes and live tests practice what you learned, and track your class performance.
Flaunt your skills with course certificates. You can showcase the certificates on LinkedIn with a click.
Different ordering patterns