Sort coverage points into those a block bench already closed and those only the chip can measure. Then read the chip's own coverage ledger.
Hardware context: The integration coverage model of ap_soc v1.5: a sampler bound into the chip bench, and its eight-run ledger. Sorting plan points into block and integration points.
The E11 coverage ledger of ap_soc v1.5 (docs/soc/chip-coverage.json) has 349 bins after eight passing runs. 143 are hit, 205 are holes and 1 is tied off. Enter a code from the table, or a number read from the ledger.
This worksheet uses named constants. The first three entries show how to record your decisions.
Replace each unresolved value of 65535 with your result.
Signals in the Timeline
| Signal | Width | Role |
|---|---|---|
question | 8 | input of each check |
Full specification
| Code | What kind of point |
|---|---|
| 1 | Block point: the block bench owns it |
| 2 | Integration point: a route or a wire between blocks |
| 3 | Integration point: a block in a state of the chip |
| 4 | Integration point: a scenario across blocks |
| 5 | Not coverage: a check |
| Group | Bins | Hit |
|---|---|---|
| visit | 156 | 57 |
| irq | 61 | 14 |
| pin | 43 | 24 |
| power | 12 | 12 |
| debug | 4 | 1 |
| Entry | Your decision |
|---|---|
| UART_PARITY | UART0 received a byte with each parity setting. |
| DMA_TO_UART | The DMA wrote a byte into the UART0 window (dma.write.uart). |
| TIMER_IN_WFI | The timer's request rose while the core slept (irq.context.3.wfi). |
| WAKE_CLAIM | Firmware woke the chip, claimed source 9 and checked it (firmware.wake_claim). |
| FIFO_FULL | The UART0 receive queue filled to four bytes. |
| PIN_SPI | Pad IO3 was given to the SPI by PINMUX (pin.io3.sel2). |
| CHECK_ID | CHIP_ID read 0x2A53_10C5. |
| GATE_SHUT | The GPIO clock gate closed (gate.gpio.shut). |
| BINS | How many bins does the ledger have? |
| HOLES | How many of them are holes? |
| IRQ_HIT | How many bins of the irq group were hit? |
| CONTEXT_BINS | A plan crosses N interrupt sources with the four core states of the ledger (other_cpu, handler, wfi, seat). How many context bins does it have? |
Examples
Example 1
UART PARITY- Input
UART0 received a byte with each parity setting.
- Output
matches = 1
Inside the block: its own bench drives every parity case.
Example 2
DMA TO UART- Input
The DMA wrote a byte into the UART0 window (dma.write.uart).
- Output
matches = 1
A manager reaching a target through the matrix: a route.
Example 3
TIMER IN WFI- Input
The timer's request rose while the core slept (irq.context.3.wfi).
- Output
matches = 1
The timer is fine alone; the point is the core's state when the request arrives.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For CONTEXT_BINS, enter a constant expression using N. Only this entry changes with the parameter. The supported integer range is 3 through 9, inclusive.
Hints
Hint 1
Inside one block: the block bench owns it. Between blocks, or in a chip state: the chip does.
Hint 2
A point counts that something happened; a check compares a value.
Hint 3
Count rows, holes, and the hit rows of a group.
What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.
16 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 1 problem on this path