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
| Signal | Width | Role |
|---|---|---|
question | 8 | input 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 multiplier | Cells | Clock cycles for one product |
|---|---|---|
| Fast | 400 | 1 |
| Small | 100 | 8 |
| Entry | Your decision |
|---|---|
| POWER_HALF_F | A block uses 80 mW of switching power. The frequency is halved. Power in mW? |
| POWER_HALF_V | The same block at full frequency. The voltage is halved. Power in mW? |
| DIES | The usable area of a wafer is 60000 square millimetres. One die is 400. How many dies? |
| GOOD_DIES | The yield is 80 percent. How many of the 150 dies work? |
| DIE_COST | The wafer costs 4800 dollars. Cost of one good die in dollars? |
| SMALLER_DIES | The die shrinks to 300 square millimetres. How many dies on the wafer? |
| SMALLER_COST | With the same yield of 80 percent, what does one good smaller die cost in dollars? |
| POWER_BOTH | The 80 mW block has its voltage halved and its frequency halved. Power in mW? |
| SMALL_CYCLES | How many clock cycles does the small build need for 20 products? |
| PICK_FAST | Twenty products must finish within 100 clock cycles. Enter 1 for the fast build or 2 for the small one. |
| PICK_SMALL | Twenty products may take 200 clock cycles, and area is short. Enter 1 for fast or 2 for small. |
| COST_AT_YIELD | A 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