S7.4.2 The Input That Floated When Unselected

MediumFix22 minIcarus Verilog · serverReview the topic

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

SignalWidthRole
sample12input of each check
Full specification
ReceiverCode 0Code 1Code 2Code 3Reset
rxidle 1pin 2idle 1pin 01
wakequiet 0quiet 0pin 1pin 30

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

Report a problem with this page

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

Two Selected Inputs

Input
reset_n=1'h1, route_rx=2'h1, route_wake=2'h2, pin=4'h6
Expected output
rx = 1, wake = 1

The board drives both selected pins high.

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

Icarus Verilog · server