Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHDERUPTENFRES

Elysia Tools

Navigation

Network

PCIe Link Training LTSSM & Lane Margining Eye Decoder

· Last updated:2026-09-09

Decode a PCIe link training log (LTSSM state sequence plus TS1/TS2 ordered sets) into the full Gen1-Gen6 state timeline: negotiated speed and width, rate identifier bits, lane reversal, polarity inversion, equalization phases and Detect/Recovery restart diagnostics. Also grades a lane margining report (pcilmr CSV or key=value) against the PCIe Base Spec Rev 5.0 §8.4.2 eye minimums per generation and renders a per-lane eye-margin heatmap SVG.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Network
Input types
textarea, select, checkbox
Output type
html
Sample coverage
4
API ready
Yes

Overview

Decode PCIe Link Training and Status State Machine (LTSSM) logs and lane margining reports into structured diagnostic summaries. This tool parses state sequences, TS1 and TS2 ordered sets, rate identifiers, and equalization phases across Gen1 through Gen6, while grading receiver eye margins from pcilmr CSV outputs against PCIe Base Specification thresholds with generated SVG heatmaps.

When to use

  • When troubleshooting PCIe link training failures, down-training, or speed fallback loops across Detect, Polling, Configuration, and Recovery states.
  • When evaluating receiver eye-margin compliance and signal integrity using Linux pcilmr CSV or key-value data.
  • When inspecting equalization Phase 1 through Phase 3 progression, lane reversal, and polarity inversion during board bring-up.

How it works

  1. 1Paste raw LTSSM state sequences, TS1/TS2 ordered set traces, or pcilmr CSV output into the log text area.
  2. 2Select the target PCIe generation or leave it on auto-detection to apply the relevant PCIe Base Specification §8.4.2 eye limits.
  3. 3Optionally check the SVG heatmap option to generate visual per-lane eye-width and eye-height margin charts.
  4. 4Inspect the decoded state timeline, negotiated speed and width badges, equalization diagnostics, and per-lane margin grades.

Use cases

  • Link Bring-Up Analysis: Inspect high-speed negotiation and Phase 1 to Phase 3 equalization transitions on prototype boards.
  • Receiver Margin Qualification: Grade pcilmr margining results across all lanes to verify hardware compliance before production release.
  • Hardware Fault Isolation: Pinpoint whether link degradation stems from physical polarity issues, lane numbering mismatches, or Recovery timeouts.

Compare alternatives

  • Upload or paste a CSV and chart it instantly: histograms with Sturges / Freedman-Diaconis / Scott binning, scatter plots with Pearson r and a least-squares f…

  • Convert files into Data URIs (Base64 or percent-encoded) for inlining images, fonts, and assets directly into HTML, CSS, or Markdown

  • Reverse engineer SVG charts into data points for line, bar, scatter, and pie-style SVG structures

Who it's for

Best for

  • Convert content in the browser.
  • Workflows where PCIe Generation (for margining) matters, such as Auto detect or Gen4 16 GT/s.
  • The “Decode an LTSSM bring-up log: speed change, equalization, width” workflow, done in one pass.

Not ideal for

  • Fully automated batch jobs — this page is built for interactive use; use the API endpoint for scripts.
  • Content in other formats — this tool expects content.

Edge cases & common failures

  • Very large files

    Large files take longer and can hit browser memory limits — try a smaller sample first.

  • Skipping the output check

    Compare the first rows or pages of the output with the input before using it in production.

  • Files from unusual exporters

    Some files use format variants that do not convert cleanly — if the output looks wrong, re-save the file from the app that created it and try again.

Examples

1. Decoding Gen5 Link Training and Speed Change

Hardware Validation Engineer

Background

A prototype PCIe Gen5 x4 endpoint intermittently fails to reach 32 GT/s during link initialization.

Problem

Verify whether the link successfully completes Configuration and full Phase 1/2/3 equalization in Recovery.

How to use

Paste the timestamped LTSSM trace containing Polling, Configuration, and Recovery states, then review the decoded timeline.

{
  "pciGen": "auto",
  "showEyeHeatmap": false
}

Outcome

Displays the negotiated x4 width, rate identifier changes from 0x01 to 0x1F, and validates equalization Phase 1, Phase 2, and Phase 3 completion.

2. Grading Gen4 Receiver Eye Margins from pcilmr

Signal Integrity Engineer

Background

A Linux test run on an NVMe backplane generated a pcilmr CSV report containing eye-width and eye-height measurements.

Problem

Identify failing lanes against PCIe Base Spec minimums and visualize margin distribution across all lanes.

How to use

Paste the 22-column pcilmr CSV output, select Gen4, and enable the eye-margin heatmap SVG option.

FAQ

What input formats are supported by the decoder?

The decoder accepts LTSSM state trace lines, TS1/TS2 ordered set strings, Linux pcilmr -o 22-column CSV data, and key-value margin lines.

How is the PCIe generation determined for margining?

It automatically infers the generation from the minimum eye width (EW Min) column or uses the manual Gen4, Gen5, or Gen6 dropdown selection.

What standard is used to grade lane margins?

Margins are graded as Perfect, Pass, or Fail against PCIe Base Specification Rev 5.0 §8.4.2 minimums and PHY Test Specification recommendations.

Can the tool detect lane reversal and polarity inversion?

Yes, it parses link and lane identifiers, PAD flags, and polarity inversion markers present in the TS1/TS2 ordered set records.

Is data processed locally?

Yes, all LTSSM timeline decoding, specification margin grading, and SVG heatmap generation run directly inside the browser.

Home
Tools3212
Samples593
Visualizations471
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Media

SVG Viewer Samples

Sample SVG vector graphics (scene, icon set, diagram) for the in-browser SVG Viewer

Media

SVG Samples

Scalable Vector Graphics (SVG) samples demonstrating various SVG features and techniques

Data Formats

XML Samples

XML (eXtensible Markup Language) format examples from simple to complex structures

Development

XML Viewer Samples

Sample XML files (bookstore, RSS feed, SVG) for the in-browser XML Viewer

Data Visualization

CSV Histogram, Scatter and Box Plot Chart Studio

Upload or paste a CSV and chart it instantly: histograms with Sturges / Freedman-Diaconis / Scott binning, scatter plots with Pearson r and a least-squares fit, and Tukey box plots — every chart downloadable as PNG and SVG.

Data Analysis

Train/Test Split with Stratification

Class-stratified train/validation/test split or stratified k-fold for CSV/JSON datasets — seeded, reproducible, with distribution reports, leakage checks, SMOTE preview and CSV export.

Development

Data URI Generator

Convert files into Data URIs (Base64 or percent-encoded) for inlining images, fonts, and assets directly into HTML, CSS, or Markdown

Security

X.509 Certificate Decoder

Parse an X.509 SSL/TLS certificate (paste PEM or upload .pem/.crt) and inspect subject, issuer, validity period with expiry status, public key, signature algorithm, serial, SANs, key usage and fingerprint. Like openssl x509 -text, visualised. Runs locally.

{
  "pciGen": "4",
  "showEyeHeatmap": true
}

Outcome

Generates a graded table highlighting passing and failing lanes alongside a downloadable SVG eye-margin heatmap.

CSV Histogram, Scatter and Box Plot Chart Studio
Data URI Generator
SVG Chart to Data Extractor