L0p’s dynamic behavior introduces complex verification scenarios, especially when link width changes occur during normal operation. These include race conditions and interactions with other LTSSM states such as L1 entry and Recovery.
Figure 1: L0p flow diagram
When both ends of the link initiate width changes in opposite directions (e.g., one upsizing, the other downsizing), arbitration rules from the PCIe base specification determine the winner. The losing side must acknowledge the winning request, but a NAK is not guaranteed to be received, which can complicate verification.
Example:
Only one side proceeds; the other must gracefully abandon its request
Figure 2: Simultaneous width change requests
L0p and L1 can occur concurrently, and the LTSSM should prioritize the lower power state. This overlap introduces complex timing interactions:
Concurrent L0p downsize and L1 example
Concurrent L0p upsize and L1
• Receivers may receive EIEOS after transmitters enter electrical idle for L1
• Data stream processing continues if EIEOS is not received on an active lanes
Either side of the link may decide to enter Recovery for various reasons while a L0p link width change is in progress, leading to mismatches in link width and SKP intervals between the transmit and receive data paths:
L0p Downsizing and Recovery
L0p Upsize in Recovery
These scenarios require the receiver to process data correctly despite mismatched conditions, and the transmitter must revert to maximum width and initiate retraining.
Several cases must be handled gracefully:
To ensure robust coverage, verification environments should include:
These randomized conditions help uncover subtle bugs and ensure the design is resilient under real-world conditions.
Synopsys PCIe VIP Key Features
PCIe VIP Architecture Diagram
L0p is a powerful feature for achieving energy-efficient PCIe operation, but its dynamic behavior introduces significant verification challenges. By understanding the intricacies of link width changes and thoroughly exercising edge cases, engineers can ensure robust, compliant, and power-optimized designs.
Synopsys is partnering with early customers and collaborators to enhance the standard architecture for their next-generation designs, incorporating new features now available with the latest specifications.
Synopsys VIP is natively integrated with the Synopsys Verdi® Protocol Analyzer debug solution as well as Synopsys Verdi® Performance Analyzer.
Running system-level payload on SoCs requires a faster hardware-based pre-silicon solution. Synopsys transactors, memory models, hybrid and virtual solutions based on Synopsys IP enable various verification and validation use-cases on the industry’s fastest verification hardware, Synopsys ZeBu® emulation and Synopsys HAPS® prototyping systems.
More information on Synopsys PCIe VIPs and Test Suites is available at http://synopsys.com/vip