Reconstruct a halt request and its reply from observations at four boundaries.
Hardware context: ap_soc debug boundary. Finding the last completed instruction during firmware bring-up
A laptop talks to an ap_soc debug fixture. Identify the owner of each event with its station number.
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
Use 1 for host software, 2 for transport, 3 for the debug module and 4 for core support. Requests move inward in that order. Replies travel outward.
| Entry | Your decision |
|---|---|
| CLICK | Who translates your click into a command? |
| UNPACK | Who turns serial input into an internal register request? |
| SELECT | Who chooses the addressed hart? |
| STOP | Who knows when the current instruction finishes? |
| SAVE | Who supplies the exact next PC? |
| STATUS | Who exposes the halt acknowledgement to transport? |
| SERIAL | Who shifts the reply toward the cable? |
| SYMBOL | Who translates the saved PC into a source line? |
| RELEASE | Who turns the received resume command into a hart request? |
| COMPARE | An address matches before its instruction executes. Which station has the local trigger? |
| EDIT | Who accepts a register command and selects x5 on the hart interface? |
| SCRATCH | Who originates a debug system-bus write to scratch SRAM in this design? |
| ENTRY | Who preserves the return point on debug entry? |
| STEP | Who observes the instruction boundary that ends a successful step? |
| RETURN_OWNER | Start at core support. Which station holds the reply after HOPS outward handoffs? |
Examples
Example 1
CLICK- Input
Who translates your click into a command?
- Output
answer = 1
The host interprets the user action.
Example 2
UNPACK- Input
Who turns serial input into an internal register request?
- Output
answer = 2
The transport unpacks the scan.
Example 3
SELECT- Input
Who chooses the addressed hart?
- Output
answer = 3
The debug module owns hart selection.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For RETURN_OWNER, enter a constant expression using HOPS. Only this entry changes with the parameter. The supported integer range is 0 through 3, inclusive.
Hints
Hint 1
Find where the observation first exists.
Hint 2
Follow the request toward the hart.
Hint 3
Trace the saved information back to its reader.
What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.
21 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