Read the merge of the chip's eight coverage runs. Find what each run and each mode added, and what merging may and may not do.
Hardware context: The merge of eight coverage runs of ap_soc v1.5 across tests and across processor and seat. Reading what each run and each mode added.
The E11 ledger merges eight passing runs in a declared order. GPIO, DMA, timer and wake each ran on the processor (cpu), then on the seat (bfm). Hit counts add; a bin's first contributor is the earliest run in the order with a hit.
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
| Order | Test | Mode | Cycles | New bins |
|---|---|---|---|---|
| 0 | gpio | cpu | 580 | 45 |
| 1 | gpio | bfm | 74 | 11 |
| 2 | dma | cpu | 751 | 25 |
| 3 | dma | bfm | 195 | 11 |
| 4 | timer | cpu | 332 | 11 |
| 5 | timer | bfm | 62 | 9 |
| 6 | wake | cpu | 356 | 25 |
| 7 | wake | bfm | 137 | 6 |
| Code | Is the merge correct? |
|---|---|
| 1 | Correct |
| 2 | Wrong: it averages percentages |
| 3 | Wrong: it merges runs of different builds |
| 4 | Wrong: it counts a failing run |
| Entry | Your decision |
|---|---|
| HIT | How many bins does the merged ledger hit? |
| FIRST_CPU | How many bins have a processor run as first contributor? |
| FIRST_BFM | And a seat run? |
| CPU_CYCLES | Total system cycles of the four processor runs. |
| BFM_CYCLES | Total system cycles of the four seat runs. |
| MERGE_AVG | A merge takes the mean of the eight runs' percentages. |
| MERGE_KEY | A merge adds counts only when every run carries the same model fingerprint. |
| MERGE_FAIL | A merge adds the counts of a run that ended with a fail word. |
| NEW_AT | How many new bins did the run of order R add (the table above)? |
Examples
Example 1
HIT- Input
How many bins does the merged ledger hit?
- Output
matches = 1
The sum of the new-bins column.
Example 2
FIRST CPU- Input
How many bins have a processor run as first contributor?
- Output
matches = 1
Add the new bins of the four cpu rows.
Example 3
FIRST BFM- Input
And a seat run?
- Output
matches = 1
The seat runs add only what the processor runs before them missed.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For NEW_AT, enter a constant expression using R. Only this entry changes with the parameter. The supported integer range is 0 through 7, inclusive.
Hints
Hint 1
Merged hits are sums; a bin is hit if any run hit it.
Hint 2
Follow the declared order; reorder the runs and the first contributors change, the hits do not.
Hint 3
Different builds, failing runs and averaged percentages do not merge.
What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.
13 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