“The First Rule of Program Optimization: Don't do it.
The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Find a solution first
Diagnose problems
“We should forget about small efficiencies, say about 97% of the time:
premature optimization is the root of all evil.
Yet we should not pass up our opportunities in that critical 3%.
A good programmer will not be lulled into complacency by such reasoning,
he will be wise to look carefully at the critical code;
but only after that code has been identified”
- Donald Knuth
Identify the problem through test first
Design Flow
Technologies
Comparison
ASIC
FPGA
Microcontroller
Target market
High volume
Prototype to medium volume
Single to high volume
Design speed
Slow
Fast
Faster
Design Tools
Expensive
No cost
No cost
Efficiency
Optimum
slow clock, parallel operation
slow clock, seriell operation, analog function
ASIC: Application specific integrated circuit.
FPGA: File programmable gate array.
log IDS versus VGS -> shows weak inversion and off current
Output Curve: IDS versus VDS with various VGS -> shows output conductance
Technology versus Electrical Characteristics: Roll of curve -> Vth versus Leff
Transistor Evolution
How much area uses one transistor?
Theoretical minimum:
Active area: W*L*4
Contacts: W*L*4*3
Minimum Feature size F
A=16*F2
Example:
F = 45 nm; 731M Transistors; 262 mm2
A = 262 mm2/(731*106)= 358413 nm2 = 177*F2
Courtesy of Intel
2008 Intel Core i7
731 Million MOS Transistors
45 nm process
263 mm2
2.6..3.2 GHz
Summary Transistor Evolution
MOSFET- transistor
Moore‘s law
Implications of reduced feature size:
30% Productivity gain per year
Power consumption, complexity/features, price
Hierarchical Design
Verification
Microelectronics deals with small electronic components
Transistor, diode, resistor, capacitor, inductance
Microelectronic systems are getting cheaper
Complex systems can be realized
Functions are getting cheaper
Typical microelectronic components of interest are:
Microcontroller (Microprocessor, memory, digital and analog functions)
FPGA (Field programmable gate arrays)
ASIC (Application specific integrated circuits)
This class shows how to design digital and analog CMOS microelectronic components and systems
Inverter schematic and layout
Schematic and layout are representing an inverter.
An inverter uses a NMOSFET and a PMOSFET.
The schematic shows the components and connections.
The layout has added different colors for different layers
of the manufacturing process and each component.
These colors are transferred into the schematic showing the
relationship between layout and schematic.
Wiring and transistor gates and diffusion have a
minimum physical size of width and length of F.
There are also minimum distances required to prevent shorts.
It is difficult to automatically transform one view into the other.
A schematic is drawn to be able to easily understand the circuit.
On the left is GND, on the right VDD, on the top inputs, on the bottom outputs.
In a schematic connection between 2 pins can be accomplished by labeling the pins with the
same names. Lines can cross without resulting in short circuits.
A layout is drawn for symmetric and regular patterns, avoiding
signal cross coupling and shape distortion, and having minimum size.
Draw a IDS(VGS) and IDS(VDS) curve with Vth = 1V (0.3V), Kn = 100 µAV-2 and λ = 0.02 V-1
Vth threshold voltage
λ Output conductance
W width, L length
µ mobility
Cox = e /dox Gate oxide capacitance
Vt = kT/q (300K) = 0.0259 V
Simulation verifies first correct Vth and maximum current IDS
at maximum voltage Vdd.
Then the input capacitance Cox is confirmed with AC simulation of a RC circuit having the
MOSFET gate as capacitance C.
Microelectronic has only transistors as elements.
Design is done using transistors with choosing W and L.
MOS transistors are also used as capacitances, resistors, diodes
and lateral bipolar transistors.
In sub 50nm processes FINFETs are used having a fixed L and W.
These transistors are called unit transistors.
Circuits are designed combining transistors in series or parallel
to get the desired W/L ratio. This makes automated design easier.
MOSFET transistors can also be operated in the subthreshold region for low voltage power supply.
The graph shows an increase in current by a factor of 10 for 100 mV change in VGS.
Table according to Baker.
Width W and L length are applied in multiples of feature size F for KP.
Propagation delay can be calculated with tPD = 0.7 · R · C
R is the resistance of NFET or PFET. C is the sum of the output capacitance (Coxn)
and input capacitance (3/2 Cox).
C = (3/2 + 1 ) (Coxn + Coxp)
A 1 µm unit transistor has a Cox of 1.75 fF/µm2 and R of 15 kΩ (45 kΩ).
tPD = 0.7 · 2 · 1.75 fF
· 0.5 · ( 15 kΩ + 45 kΩ) = 73.5 ps
A 50 nm unit transistor has a Cox of
25 fF/µm2 · 50nm · 50 nm = 62.5 aF and
R of 34 kΩ (68 kΩ).
tPD = 0.7 · 2 · 25 fF/µm2 · 50 nm · 50 nm · 0.5 · ( 34 kΩ + 68 kΩ) = 2.23 ps