Repair the return paths after a wake detector and a serial receiver lose their pads.
Hardware context: ap_sysctl four-pad routing slice. Board bring-up and package sharing
A board can disconnect either receiver while its block stays powered. A disconnected input floats. At code 3 each receiver also depends on a second pin. Repair both return paths so each follows the table.
Signals in the Timeline
| Signal | Width | Role |
|---|---|---|
sample | 12 | input of each check |
Full specification
| Receiver | Code 0 | Code 1 | Code 2 | Code 3 | Reset |
|---|---|---|---|---|---|
| rx | idle 1 | pin 2 | idle 1 | pin 0 | 1 |
| wake | quiet 0 | quiet 0 | pin 1 | pin 3 | 0 |
Examples
Example 1
Two Selected Inputs- Input
reset_n=1'h1, route_rx=2'h1, route_wake=2'h2, pin=4'h6
- Output
rx = 1, wake = 1
The board drives both selected pins high.
Example 2
Both Disconnected- Input
reset_n=1'h1, route_rx=2'h0, route_wake=2'h0, pin=4'h0
- Output
rx = 1, wake = 0
Each receiver sees its own idle level.
Example 3
Reset Overrides Routing- Input
reset_n=1'h0, route_rx=2'h3, route_wake=2'h3, pin=4'h8
- Output
rx = 1, wake = 0
The wake input remains quiet despite a high pin.
Constraints and Contract
- Each receiver has its own two-bit select. Active-low reset overrides both routes. Drive defined values at all unassigned codes, even if external pin values change.
Hints
Hint 1
Follow the return wire toward its consumer.
Hint 2
Check idle polarity for each consumer.
Hint 3
Try each unassigned code with pins changing.
What the grader checks: All 512 binary combinations with four-state output comparison.
515 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 3 problems on this path