S10.4.2 Order the Training Steps

MediumImplement22 minIcarus Verilog · serverReview the topic

Rebuild a boot dependency chain and decide when a failed lane can safely rejoin service.

Hardware context: Controller and PHY timing model. Memory subsystem bring-up

A board log lost its timestamps. Recover the order using this controller policy. All positions start at one.

This worksheet uses named constants. The first three entries show how to record your decisions.

Signals in the Timeline

SignalWidthRole
question8input of each check
Full specification

Hold client traffic closed throughout setup. Stabilize rails and clocks before device initialization. Initialize before adjusting command/address sampling.

This board has a read-only calibration pattern. Sweep the read sampler against it once commands work. Write alignment needs that trusted readback.

After aligning writes, fill scratch memory with a second pattern. Validate that round trip before admitting clients. Count the fill as a separate step.

A read lane passes taps 3 through 6 inclusive. Select the lower middle tap of a contiguous pass window.

EntryYour decision
POWERPosition of stable rails and clocks.
INITPosition of device initialization.
COMMANDPosition of command/address adjustment.
WRITEPosition of write alignment.
PATTERNPosition of the scratch-pattern write.
READ_SWEEPPosition of the read tap sweep.
VERIFYPosition of validation.
OPENPosition of first client admission.
SAMPLERWhich side adjusts a lane delay? Enter 1 for controller or 2 for PHY.
BOUNDARYProbe DFI (1) or a package pin (2) to see the controller issue its command before pin launch.
CENTERSelected read tap.
FAILEDClient admission after one failed lane, even if all others pass (1=open, 0=closed).
NEXT_STEPAfter initialization, bits 0 to 3 certify command, read sweep, write alignment and validation respectively. A write certificate includes scratch fill. Return the earliest uncertified stage position, or OPEN when all pass. Ignore stale later certificates.

Examples

Example 1

POWER
Input
Position of stable rails and clocks.
Output
power = 1

The device needs a usable supply and clock first.

Example 2

INIT
Input
Position of device initialization.
Output
init = 2

The command path setup assumes initialization finished.

Example 3

COMMAND
Input
Position of command/address adjustment.
Output
command = 3

Reliable commands let you select the write target.

Constraints and Contract

  • Keep the parameter and named constants. Use the numeric codes and units on this page.
  • For NEXT_STEP, enter a constant expression using FLAGS. Only this entry changes with the parameter. The supported integer range is 0 through 15, inclusive.

Hints

Hint 1

Ask which observation would be meaningless without a prior step.

Hint 2

Follow the known bits on both sides of the device.

Hint 3

Decide when a client can trust every lane.

What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.

16 checks on Icarus Verilog · server. Run the examples first, then check the full regression. Full checks use the server judge. Downloads contain your source only; samples require the simulation service. A passing result establishes the tested cases, not a proof for all possible inputs.

See all 2 problems on this path

Report a problem with this page

Your code SystemVerilogSaved locally
Ln 1, Col 1Tab indents · Ctrl/⌘ + Enter runs samples
Not run yet

POWER

Input
Position of stable rails and clocks.
Expected output
power = 1

The device needs a usable supply and clock first.

Run samples executes all 3 public checks. Check all tests runs 16 checks on the server.

Icarus Verilog · server