Score the transmitter's plan rows by likelihood and impact and put them in order. Then see which rows fit in the time you have.
Hardware context: A small UART transmitter. Finding a promise no row tests.
Risk = likelihood x impact, each from 1 (low) to 3 (high). The likelihood and impact below are exercise values a team might agree on. Rows with risk 6 or more are high priority. A row takes one day to close.
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
| Row | Feature | Likelihood | Impact |
|---|---|---|---|
| B2B | Back-to-back frames: new logic at the end of the stop bit | 3 | 3 |
| ONE | One byte, one frame: the common path, written first | 1 | 3 |
| RESET | Reset during a frame: rarely exercised, but a stuck line would block the board | 2 | 3 |
| IGNORE | start while busy is ignored: one simple condition | 1 | 2 |
| Entry | Your decision |
|---|---|
| R_B2B | Risk of B2B. |
| R_ONE | Risk of ONE. |
| R_RESET | Risk of RESET. |
| R_IGNORE | Risk of IGNORE. |
| HIGH_COUNT | How many rows are high priority (risk 6 or more)? |
| FIRST | Which row comes first? 1 B2B, 2 ONE, 3 RESET, 4 IGNORE. |
| LAST | Which row comes last? 1 B2B, 2 ONE, 3 RESET, 4 IGNORE. |
| TWO_DAYS | With two days, how many high-priority rows can be closed? |
| NEW_ROW | A new row, "data read one clock late", has likelihood 3 and impact IMPACT. Enter 1 if it is high priority (risk 6 or more), 0 if not. |
Examples
Example 1
R B2B- Input
Risk of B2B.
- Output
matches = 1
3 x 3 = 9.
Example 2
R ONE- Input
Risk of ONE.
- Output
matches = 1
1 x 3 = 3.
Example 3
R RESET- Input
Risk of RESET.
- Output
matches = 1
2 x 3 = 6.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For NEW_ROW, enter a constant expression using IMPACT. Only this entry changes with the parameter. The supported integer range is 1 through 3, inclusive.
Hints
Hint 1
Risk is likelihood times impact.
Hint 2
Highest risk first; ties keep the order of the plan.
Hint 3
Rows at or above the threshold are high priority.
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