Recover the peak heat stored during a burst and decide whether a delayed throttle can still protect the core.
Hardware context: Cluster rail controller. Operating-point selection
This exercise uses a heat bucket for one thermal region. Its capacity is 60 µJ above ambient. Begin with 8 µJ stored.
This worksheet uses named constants. The first three entries show how to record your decisions.
Signals in the Timeline
| Signal | Width | Role |
|---|---|---|
question | 8 | input of each check |
Full specification
| Ordered interval | Duration (ms) | Total dissipation (mW) |
|---|---|---|
| Idle | 3 | 2 |
| Compute | 4 | 18 |
| Wait | 2 | 5 |
| Overlap | BURST | 22 |
| Throttle | 3 | 6 |
Cooling can remove 8 mW in every interval. Stored heat cannot go below zero. Power is constant within each interval.
Track heat at every boundary. A peak equal to capacity is safe. Once crossed, capacity has been exceeded even if the final reading recovers.
Use capacity 60 µJ and BURST = 2 ms unless an entry changes them. In the separate late-response question only, one extra ms at 22 mW precedes throttle.
| Entry | Your decision |
|---|---|
| COOL | Cooling energy available in 1 ms in µJ. |
| IDLE | Stored heat after idle in µJ. |
| RISE | Net rise during compute in µJ. |
| WAIT_END | Heat after wait in µJ. |
| PEAK | Largest stored heat in µJ. |
| FINAL_HEAT | Heat after throttle in µJ. |
| EXCESS | Peak amount above capacity in µJ. |
| LATE | Peak with the extra response delay in µJ. |
| AT_LIMIT | With capacity set to 62 µJ, is the fixed burst safe? Use 1 for yes and 0 for no. |
| BELOW_LIMIT | With capacity set to 61 µJ, is the fixed burst safe? Use the same codes. |
| SAFE_MS | Largest safe whole overlap duration in ms. |
| OVER_BUDGET | Peak excess above 60 µJ for BURST ms. Report zero when safe. |
Examples
Example 1
COOL- Input
Cooling energy available in 1 ms in µJ.
- Output
value = 8
8 mW times 1 ms gives 8 µJ.
Example 2
IDLE- Input
Stored heat after idle in µJ.
- Output
value = 0
Idle sheds more heat than the initial 8 µJ. Stop at ambient.
Example 3
RISE- Input
Net rise during compute in µJ.
- Output
value = 40
The core stores 10 mW for 4 ms.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For OVER_BUDGET, enter a constant expression using BURST. Only this entry changes with the parameter. The supported integer range is 0 through 8, inclusive.
Hints
Hint 1
A milliwatt times a millisecond gives a microjoule.
Hint 2
Carry each ending heat into the next interval, flooring at ambient.
Hint 3
A cooler final interval cannot undo an earlier excursion.
What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.
23 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