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
| Signal | Width | Role |
|---|---|---|
question | 8 | input 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.
| Entry | Your decision |
|---|---|
| POWER | Position of stable rails and clocks. |
| INIT | Position of device initialization. |
| COMMAND | Position of command/address adjustment. |
| WRITE | Position of write alignment. |
| PATTERN | Position of the scratch-pattern write. |
| READ_SWEEP | Position of the read tap sweep. |
| VERIFY | Position of validation. |
| OPEN | Position of first client admission. |
| SAMPLER | Which side adjusts a lane delay? Enter 1 for controller or 2 for PHY. |
| BOUNDARY | Probe DFI (1) or a package pin (2) to see the controller issue its command before pin launch. |
| CENTER | Selected read tap. |
| FAILED | Client admission after one failed lane, even if all others pass (1=open, 0=closed). |
| NEXT_STEP | After 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