V1.6.1 What a Regression Costs

MediumImplement22 minIcarus Verilog · serverReview the topic

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

SignalWidthRole
question8input of each check
Full specification
CodeTeam
1Block verification team
2Chip verification team
3Firmware team
4Design 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.

EntryYour decision
FIFO_CORNERSWho owns the full and empty cases of the UART receive queue?
CHIP_PLANWho owns the chip-level plan and its regression?
BOOT_CODEWho writes the boot code that chip tests run first?
FIX_WIREWho fixes a wrong wire found by a chip test?
TEST_CYCLESCycles for one test, in thousands.
TEST_SECONDSSeconds for one test at the measured speed.
BOOT_SHAREPercent of each test spent in boot, rounded up.
NIGHT_400Minutes for 400 tests on one machine.
MINUTESMinutes 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

Report a problem with this page

Your code SystemVerilogSaved locally
Ln 1, Col 1Tab indents · Ctrl/⌘ + Enter runs samples
Not run yet

FIFO CORNERS

Input
Who owns the full and empty cases of the UART receive queue?
Expected output
matches = 1

Inside a block: the block team.

Run samples executes all 3 public checks. Check all tests runs 13 checks on the server.

Icarus Verilog · server