Complete rows of a chip-level plan for ap_soc. Give the mode for each feature, the check that proves it, and the size of a map walk.
Hardware context: The chip-level verification plan of ap_soc. Writing plan rows for a new chip feature.
A plan row reads: feature, risk, test, mode, check, coverage. Some entries ask for a mode code, others for a check code. The two tables use different numbers.
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 | Mode |
|---|---|
| 1 | With CPU |
| 2 | Without CPU |
| 3 | Both: the same test in each mode |
| Code | Check |
|---|---|
| 4 | Self-checking firmware reports pass or fail through the bench channel |
| 5 | A passive bus monitor and protocol checker |
| 6 | An end-to-end scoreboard at the pads |
| 7 | A formal connectivity check against the connection table |
| 8 | A compare against a reference model of the core |
| Entry | Your decision |
|---|---|
| BOOT_MODE | Mode for: reset to main in both boot-strap settings. |
| UART_ECHO_CHECK | Check for: a byte sent at the pad comes back out of the pad. |
| WIRES_CHECK | Check for: every wire of the connection table goes where it says. |
| REG_SWEEP_MODE | Mode for: reset values of every register. |
| IRQ_MODE | Mode for: interrupt from GPIO to handler and back to completion. |
| APB_CHECK | Check for: every APB transfer obeys the protocol, in every test. |
| CORE_CHECK | Check for: each instruction the core retires does what the instruction set says. |
| HANDLER_CHECK | Check for: the timer handler counts ten interrupts and then reports. |
| DMA_MODE | Mode for: a DMA copy, started once by a bus manager and once by firmware. |
| MAP_READS | Size the map walk. The map has REGIONS regions, sorted, with a hole between each pair and one above the last. The test reads the first and the last word of each region and one address in each hole. How many reads? |
Examples
Example 1
BOOT MODE- Input
Mode for: reset to main in both boot-strap settings.
- Output
matches = 1
Boot means real instruction fetch from reset.
Example 2
UART ECHO CHECK- Input
Check for: a byte sent at the pad comes back out of the pad.
- Output
matches = 1
The proof is at the pads, end to end.
Example 3
WIRES CHECK- Input
Check for: every wire of the connection table goes where it says.
- Output
matches = 1
Formal compares the netlist with the table, wire by wire, without tests.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For MAP_READS, enter a constant expression using REGIONS. Only this entry changes with the parameter. The supported integer range is 2 through 40, inclusive.
Hints
Hint 1
Does the test need instructions to run? Then with CPU.
Hint 2
Name what proves the result: the firmware, a monitor, the pads, formal or a model.
Hint 3
R regions have R - 1 gaps between them, plus the space above the last.
What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.
14 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