Place each bug at the earliest stage a check could find it. Then say what the fix takes where it was really found.
Hardware context: A small chip project on the road from specification to silicon, with a 4-bit adder as its block. Deciding how much checking a block needs before it is handed on.
The stages are those of the road in the lesson. Some entries ask for a stage code (1 to 4), others for a fix code (5 to 7).
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 | Stage |
|---|---|
| 1 | Block verification (before tape-out) |
| 2 | Chip-level verification (before tape-out) |
| 3 | First silicon in the lab (after tape-out) |
| 4 | In customers' hands |
| Code | What the fix takes |
|---|---|
| 5 | Edit the RTL and rerun the tests |
| 6 | New masks (a respin) or a software work-around |
| 7 | A recall or a work-around in the field |
| Entry | Your decision |
|---|---|
| FIFO_FULL | Earliest stage: a FIFO's full flag rises one entry late. |
| IRQ_WIRE | Earliest stage: a timer's interrupt wire is connected to the wrong controller input. |
| FIX_LAB | Fix: a design bug is first seen on first silicon. |
| ADDER_TERM | Earliest stage: an adder inside an arithmetic block is missing one carry term. |
| FIX_BLOCK | Fix: the adder bug is found during block verification. |
| DRIVER_OFFSET | Earliest stage: the firmware writes a peripheral register at the wrong offset. |
| FIX_CHIP | Fix: the wrong interrupt wire is found in chip-level verification. |
| COUNT_WRAP | Earliest stage: a counter wraps after 10 instead of 9. |
| FIX_FIELD | Fix: a design bug is first reported by customers. |
| FIX_AT | A design bug is first found at stage STAGE (the stage codes above). What does the fix take? Enter a fix code. |
Examples
Example 1
FIFO FULL- Input
Earliest stage: a FIFO's full flag rises one entry late.
- Output
matches = 1
The flag is inside one block. Its block bench drives every pin and sees it at once.
Example 2
IRQ WIRE- Input
Earliest stage: a timer's interrupt wire is connected to the wrong controller input.
- Output
matches = 1
The wire lies between two blocks. No block bench has it; the chip does.
Example 3
FIX LAB- Input
Fix: a design bug is first seen on first silicon.
- Output
matches = 1
After tape-out the design is glass and silicon. A design fix needs new masks, or software must avoid the bug.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For FIX_AT, enter a constant expression using STAGE. Only this entry changes with the parameter. The supported integer range is 1 through 4, inclusive.
Hints
Hint 1
Inside one block, block verification can see it. Between blocks, or between hardware and software, only the chip can.
Hint 2
Before, a fix is an edit. After, it needs masks or a work-around.
Hint 3
Once customers have it, every copy does.
What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.
14 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