Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
CS152 L5 Cost.1
100 Performance
10
Minicomputers Microprocessors
0.1 1965 1970 1975 1980 1985 Year 1990 1995 2000
CS152 L5 Cost.3
Die yield =
Die Yield
Raw Dices Per Wafer
wafer diameter
6/15cm 8/20cm 10/25cm die yield
die area (mm2) 100 144 196 139 90 62 265 177 124 431 290 206
256 44 90 153
324 32 68 116
400 23 52 90
23% 19% 16% 12% 11% 10% typical CMOS process: =2, wafer yield=90%, defect density=2/cm2, 4 test sites/wafer Good Dices Per Wafer 31 16 9 5 59 32 19 11 96 53 32 20
3 7 13
2 5 9
Spring 1998 UCB
Chip
386DX 486DX2
Metal Line Wafer Defect Area Dies/ Yield Die Cost layers width cost /cm2 mm2 wafer
2 0.90 $900 1.0 1.0 1.3 1.0 1.2 1.6 1.5 43 81 121 196 234 256 296 360 181 115 66 53 48 40 71% 54% 28% 27% 19% 13% 9% $4 $12 $53 $73 $149 $272 $417 3 0.80 $1200 3 0.80 $1300 3 0.70 $1500 3 0.80 $1500
From "Estimating IC Manufacturing Costs, by Linley Gwennap, Microprocessor Report, August 2, 1993, p. 15
CS152 L5 Cost.6
Other Costs
IC cost = Die cost + Testing cost + Packaging cost Final test yield
Package pins type 132 QFP 168 PGA 304 QFP 504 PGA 431 PGA 293 PGA 273 PGA
Total
$9 $35 $77 $124 $202 $326 $473
Spring 1998 UCB
System Cost: -1995-96 Workstation System Cabinet Subsystem Sheet metal, plastic Power supply, fans Cables, nuts, bolts (Subtotal) Processor DRAM (64MB) Video system I/O system Printed Circuit board (Subtotal) Keyboard, mouse Monitor Hard disk (1 GB) Tape drive (DAT) (Subtotal) % of total cost 1% 2% 1% (4%) 6% 36% 14% 3% 1% (60%) 1% 22% 7% 6% (36%)
Spring 1998 UCB
Motherboard
I/O Devices
CS152 L5 Cost.8
COST v. PRICE
(WSPC)
(3345%)
avg. selling price +25100% Gross Margin +33% Direct Costs Component Cost Input: chips, displays, ...
CS152 L5 Cost.9
gross margin direct costs component cost Commision: channel profit, volume discounts,
direct costs component cost Overhead: R&D, rent, marketing, profits, ...
CS152 L5 Cost.10
CS152 L5 Cost.11
Design Refinement
Informal System Requirement Initial Specification Intermediate Specification refinement increasing level of detail Final Architectural Description
Design as Search
Problem A Strategy 1 Strategy 2
SubProb 1
SubProb2
SubProb3
BB1
BB2
BB3
BBn
Problem: Design a fast ALU for the MIPS ISA Requirements? Must support the Arithmetic / Logic operations Tradeoffs of cost and speed based on frequency of occurrence, hardware budget
CS152 L5 Cost.14
ALU from from CS 150 / P&H book chapter 4 supports these ops
CS152 L5 Cost.15
25 Rs Rs
funct xx xx xx xx xx xx xx xx
20 Rt Rt
Type ADD
15 Rd
5 funct Immed 16
op op
op 10
op 00
funct 40 41 42 43 44 45 46 47
Type
op 00 00
funct 50 51 52 53
ADDU 00 SUB 00
SLT
00
SLTU 00
Design Trick: divide & conquer Break the problem into simpler problems, solve them and glue together the solution Example: assume the immediates have been taken care of before the ALU
10 operations (4 bits)
00 01 02 03 04 05 06 07 12 13
CS152 L5 Cost.17
Refined Requirements
(1) Functional Specification inputs: 2 x 32-bit operands A, B, 4-bit mode outputs: 32-bit result S, 1-bit carry, 1 bit overflow operations: add, addu, sub, subu, and, or, xor, nor, slt, sltU (2) Block Diagram (powerview symbol, VHDL entity) 32 A c ovf B 32 4 m
ALU
S 32
CS152 L5 Cost.18
...
S <= A + B;
CS152 L5 Cost.19
Design Decisions
ALU bit slice
Simple bit-slice
big combinational problem many little combinational problems partition into 2-step problem
b0 ALU0 m co cin s0
a0
4 M
Ovflw 32 S
CS152 L5 Cost.21
127
CS152 L5 Cost.22 Spring 1998 UCB
Seven plus a MUX ? Design trick 2: take pieces you know (or can imagine) and try to put them together Design trick 3: solve part of the problem and extend
CarryIn A
S-select and
or
Result
Mux
add
CarryOut
CS152 L5 Cost.23 Spring 1998 UCB
Additional operations A - B = A + ( B)
form two complement by invert and add one S-select CarryIn invert and
A
or
Result
Mux
add
CarryOut
a31 b31
a0
b0
ALU0 co cin s0
Ovflw S
32
CS152 L5 Cost.25
Overflow
Decimal 0 1 2 3 4 5 6 7 Binary 0000 0001 0010 0011 0100 0101 0110 0111 Decimal 0 -1 -2 -3 -4 -5 -6 -7 -8 2s Complement 0000 1111 1110 1101 1100 1011 1010 1001 1000
-4 - 5 = -9
1 0 + 0 1 1 1 0 0 1 1 1 1
but ...
1 1 1 0 7 3 6 + 1 1 0 1 0 1 0 1 1 0 1 1 4 5 7
CS152 L5 Cost.26
Overflow Detection
Overflow: the result is too large (or too small) to represent properly
Example: - 8 < = 4-bit binary number <= 7
When adding operands with different signs, overflow cannot occur! Overflow occurs when adding:
2 positive numbers and the sum is negative 2 negative numbers and the sum is positive
1 1 0 0
1 1 1 1 1 1 0 7 3 6
0 1 1 0 1 0 1 1 0 1 1 4 5 7
1 0
X 0 0 1 1
Y 0 1 0 1
X XOR Y 0 1 1 0
ALU0 co cin s0
Ovflw S
32
CS152 L5 Cost.29