A counter has arrived with its wires bundled together. Route each observation to the engineer who can explain it.
Hardware context: ap_soc pulse counter. Peripheral integration
Use these exercise codes for the port class or internal boundary that owns each observation. Classify by the job of the signal at that boundary.
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
| Code | Boundary |
|---|---|
| 1 | Bus |
| 2 | Register block |
| 3 | Core logic |
| 4 | Interrupt |
| 5 | DMA handshake |
| 6 | Clock and reset |
| 7 | Pad and mux |
| Entry | Your decision |
|---|---|
| BUS_WAIT | The bridge waits for the target to finish. |
| MODE | Software leaves a mode selected between writes. |
| INCREMENT | The arithmetic unit advances a count. |
| SERVICE | The block alerts the interrupt controller. |
| DRAIN | A transfer engine accepts a request to drain data. |
| TICK | A rising edge advances the local state. |
| RELEASE | The local state may leave its initial condition. |
| DRIVER | A package driver changes from high impedance to driving. |
| RETURN | The selected target returns a read word to the bridge. |
| LATCH | A field remembers that an event occurred until software clears it. |
| DESTINATION | The signal requests service. TO_DMA=1 routes it to the transfer engine, 0 to the interrupt controller. |
Examples
Example 1
BUS WAIT- Input
The bridge waits for the target to finish.
- Output
matches = 1
Ready belongs to the bus transfer.
Example 2
MODE- Input
Software leaves a mode selected between writes.
- Output
matches = 1
The register block stores that choice.
Example 3
INCREMENT- Input
The arithmetic unit advances a count.
- Output
matches = 1
Counting is the work of the core logic.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For DESTINATION, enter a constant expression using TO_DMA. Only this entry changes with the parameter. The supported integer range is 0 through 1, inclusive.
Hints
Hint 1
Ask who samples the signal.
Hint 2
Distinguish a stored field from the bus transaction that wrote it.
Hint 3
Follow each request to its own consumer.
What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.
11 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