S1.8.1 Three Budgets by Hand

MediumImplement22 minIcarus Verilog · serverReview the topic

Work out power, die cost and area for a small design, and choose between a fast build and a small one.

Hardware context: A multiplier built fast and built small, with a wafer and a power budget. Architecture trade-off studies

A team sizes one chip. It uses three first-order models from the lesson. Each is rough, and each is good enough for a first decision.

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

Switching power is proportional to the frequency, and to the square of the supply voltage.

Dies on a wafer: the usable wafer area divided by the die area. Cost of one good die: the wafer cost divided by the number of good dies.

Build of the multiplierCellsClock cycles for one product
Fast4001
Small1008
EntryYour decision
POWER_HALF_FA block uses 80 mW of switching power. The frequency is halved. Power in mW?
POWER_HALF_VThe same block at full frequency. The voltage is halved. Power in mW?
DIESThe usable area of a wafer is 60000 square millimetres. One die is 400. How many dies?
GOOD_DIESThe yield is 80 percent. How many of the 150 dies work?
DIE_COSTThe wafer costs 4800 dollars. Cost of one good die in dollars?
SMALLER_DIESThe die shrinks to 300 square millimetres. How many dies on the wafer?
SMALLER_COSTWith the same yield of 80 percent, what does one good smaller die cost in dollars?
POWER_BOTHThe 80 mW block has its voltage halved and its frequency halved. Power in mW?
SMALL_CYCLESHow many clock cycles does the small build need for 20 products?
PICK_FASTTwenty products must finish within 100 clock cycles. Enter 1 for the fast build or 2 for the small one.
PICK_SMALLTwenty products may take 200 clock cycles, and area is short. Enter 1 for fast or 2 for small.
COST_AT_YIELDA wafer costs 4800 dollars and holds 150 dies. YIELD_PCT percent of them work. Cost of one good die in dollars?

Examples

Example 1

POWER HALF F
Input
A block uses 80 mW of switching power. The frequency is halved. Power in mW?
Output
matches = 1

Power follows the frequency. Half of 80.

Example 2

POWER HALF V
Input
The same block at full frequency. The voltage is halved. Power in mW?
Output
matches = 1

Power follows the square of the voltage. A quarter of 80.

Example 3

DIES
Input
The usable area of a wafer is 60000 square millimetres. One die is 400. How many dies?
Output
matches = 1

Sixty thousand divided by four hundred.

Constraints and Contract

  • Keep the parameter and named constants. Use the numeric codes and units on this page.
  • For COST_AT_YIELD, enter a constant expression using YIELD_PCT. Only this entry changes with the parameter. The supported integer range is 20 through 100, inclusive.

Hints

Hint 1

Power, die count or cycles: each entry uses one of the three.

Hint 2

Apply the voltage first, then the frequency.

Hint 3

A build that misses its time limit is not a choice.

What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.

12 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

POWER HALF F

Input
A block uses 80 mW of switching power. The frequency is halved. Power in mW?
Expected output
matches = 1

Power follows the frequency. Half of 80.

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

Icarus Verilog · server