Place each part and each test of ap_soc in the subsystem whose input and output you would use to check it.
Hardware context: ap_soc cut into subsystems, each with an input and an output. Grouping a chip into subsystems for the plan.
A subsystem is a group of blocks with a clear place to put stimulus in. It also has a clear place to check the result. Enter the subsystem code.
This worksheet uses named constants. The first three entries show how to record your decisions.
Replace each unresolved value of 255 with your result.
Signals in the Timeline
| Signal | Width | Role |
|---|---|---|
question | 8 | input of each check |
Full specification
| Code | Subsystem of ap_soc |
|---|---|
| 1 | Console: pad, UART0, interrupt, core |
| 2 | Pins: GPIO and the pin mux |
| 3 | Memory and boot: ROM, SRAM, boot strap |
| 4 | Time and interrupts: timer, interrupt controller, core timer |
| 5 | Data mover: DMA and memory |
| 6 | Clock, reset and power |
| 7 | Debug: test access port and debug module |
| Entry | Your decision |
|---|---|
| RXDATA | A byte arrives at the receive pad and must reach a variable in the firmware. |
| PINMUX | PINMUX selects serial on pad 0. |
| STRAP | The boot strap picks the reset vector. |
| MTIMECMP | The core timer compare raises the machine timer interrupt. |
| COPY | Six bytes are copied from one SRAM buffer to another without the core. |
| WAKE | A GPIO edge wakes the switched-off peripheral domain. |
| IDCODE | The debugger reads the chip's identity through four JTAG pads. |
| TX_PAD | A string written by firmware appears on the transmit pad. |
| WATCHDOG | The watchdog resets the chip when firmware stops kicking it. |
| DMA_IRQ | The DMA done interrupt reaches the core after a copy. |
| CHECK_AT | Where do you check the output? POINT 0: an echoed byte. POINT 1: the first instruction after reset. POINT 2: a woken domain. Enter the subsystem whose output you watch. |
Examples
Example 1
RXDATA- Input
A byte arrives at the receive pad and must reach a variable in the firmware.
- Output
matches = 1
Pad in, UART0, interrupt, core: the console.
Example 2
PINMUX- Input
PINMUX selects serial on pad 0.
- Output
matches = 1
The pin mux belongs with the pins.
Example 3
STRAP- Input
The boot strap picks the reset vector.
- Output
matches = 1
Boot is memory and boot.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For CHECK_AT, enter a constant expression using POINT. Only this entry changes with the parameter. The supported integer range is 0 through 2, inclusive.
Hints
Hint 1
Where does the stimulus enter: a pad, a strap, a register write?
Hint 2
Where can a checker see the result?
Hint 3
The blocks between input and output form the subsystem.
What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.
15 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