Name who owns each piece of chip verification, then work out from a measured simulator speed what a nightly regression costs.
Hardware context: A nightly chip regression of ap_soc. Sizing a nightly regression and naming who owns each failure.
Codes 1 to 4 name a team. Number entries are sums. The speed is measured; the test sizes are exercise values.
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 | Team |
|---|---|
| 1 | Block verification team |
| 2 | Chip verification team |
| 3 | Firmware team |
| 4 | Design team |
Measured (laptop, core alone, Verilator 5.032): 534 thousand cycles a second. Exercise values: boot costs 68 thousand cycles; a test body costs 1,000 thousand cycles. Round time up to whole units.
| Entry | Your decision |
|---|---|
| FIFO_CORNERS | Who owns the full and empty cases of the UART receive queue? |
| CHIP_PLAN | Who owns the chip-level plan and its regression? |
| BOOT_CODE | Who writes the boot code that chip tests run first? |
| FIX_WIRE | Who fixes a wrong wire found by a chip test? |
| TEST_CYCLES | Cycles for one test, in thousands. |
| TEST_SECONDS | Seconds for one test at the measured speed. |
| BOOT_SHARE | Percent of each test spent in boot, rounded up. |
| NIGHT_400 | Minutes for 400 tests on one machine. |
| MINUTES | Minutes for TESTS tests on one machine, at 2 seconds a test, rounded up. |
Examples
Example 1
FIFO CORNERS- Input
Who owns the full and empty cases of the UART receive queue?
- Output
matches = 1
Inside a block: the block team.
Example 2
CHIP PLAN- Input
Who owns the chip-level plan and its regression?
- Output
matches = 1
The chip verification team.
Example 3
BOOT CODE- Input
Who writes the boot code that chip tests run first?
- Output
matches = 1
The firmware team writes boot code; chip tests reuse it.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For MINUTES, enter a constant expression using TESTS. Only this entry changes with the parameter. The supported integer range is 1 through 600, inclusive.
Hints
Hint 1
Ask where the thing lives and who changes it.
Hint 2
Divide by the simulator speed.
Hint 3
A part of a minute is still a minute of machine time.
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 1 problem on this path