Skip to content

Get System-Level Testing Working - #200

Closed
schwarz-em wants to merge 15 commits into
mainfrom
system-testing-working
Closed

schwarz-em wants to merge 15 commits into
mainfrom
system-testing-working

Conversation

@schwarz-em

Copy link
Copy Markdown
Collaborator

This integrates the KAIST fixes for things that were hitting assertions + random bugfixes (some scrambler syncing, patterns stuck in the rx queue... etc)

A simple test writing 40B across a ucie port in loopback on Iris passes

schwarz-em and others added 15 commits September 21, 2026 16:40
The RX path drives pl_valid for one cycle per accepted beat, so the test can no
longer expect it to stay high until rxActiveReq drops.
MBInitSM runs the test with PERLANEID, but the requester only decoded VALTRAIN
and LFSR, so the per-lane results stayed at their zero default and lane repair
could never trigger. Decoding them exposes a second bug: PatternReader reports
per-lane PASS flags and MBInitSM read them as faults, which degraded every lane
and pushed the link into TRAINERROR. Both have to change together.

The two asserts that only allowed VALTRAIN or LFSR now allow PERLANEID, and the
one requiring an idle PatternReader is scoped to the cycle the request is made,
since the reader is started inside that same state.
The clock handshake runs again while RDI is ACTIVE whenever sideband traffic
needs clocks, so the wake and clock prerequisites are a condition for entering
ACTIVE rather than an invariant across it. The three pl_clk_req assertions also
fired a cycle early, because the requester needs one cycle to leave sIDLE.
The layers were disabled because the TX point test asserted on the pattern type
MBINIT drives. With that fixed the three ladders pass with every assertion live.
@schwarz-em schwarz-em closed this Oct 3, 2026
@schwarz-em
schwarz-em deleted the system-testing-working branch October 3, 2026 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants