S10.9.2 Thermal Budget over a Burst

HardImplement22 minIcarus Verilog · serverReview the topic

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

SignalWidthRole
question8input of each check
Full specification
Ordered intervalDuration (ms)Total dissipation (mW)
Idle32
Compute418
Wait25
OverlapBURST22
Throttle36

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.

EntryYour decision
COOLCooling energy available in 1 ms in µJ.
IDLEStored heat after idle in µJ.
RISENet rise during compute in µJ.
WAIT_ENDHeat after wait in µJ.
PEAKLargest stored heat in µJ.
FINAL_HEATHeat after throttle in µJ.
EXCESSPeak amount above capacity in µJ.
LATEPeak with the extra response delay in µJ.
AT_LIMITWith capacity set to 62 µJ, is the fixed burst safe? Use 1 for yes and 0 for no.
BELOW_LIMITWith capacity set to 61 µJ, is the fixed burst safe? Use the same codes.
SAFE_MSLargest safe whole overlap duration in ms.
OVER_BUDGETPeak 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

Report a problem with this page

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

COOL

Input
Cooling energy available in 1 ms in µJ.
Expected output
value = 8

8 mW times 1 ms gives 8 µJ.

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

Icarus Verilog · server