Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
2013-01-14
1
Computer Aided Design of Electronics
[Datorstödd Elektronikkonstruktion]
Computer Aided Design of Electronics
[Datorstödd Elektronikkonstruktion]
Zebo Peng, Petru Eles, and Nima AghaeeEmbedded Systems Laboratory
IDA, Linköping University
www.ida.liu.se/~TDTS01
Zebo Peng, Petru Eles, and Nima AghaeeEmbedded Systems Laboratory
IDA, Linköping University
www.ida.liu.se/~TDTS01
22Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Electronic Systems
2013-01-14
2
33Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Objectives
Basic principles of computer-aided design for electronic systems (Electronic Design Automation).
Electronic system design at high levels of abstraction.
Synthesis and optimization algorithms.
Test and design for testability techniques.
The hardware description language VHDL and its use in the design/synthesis process.
44Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Course Organization 10 Lectures (Petru and Zebo): Introduction and basic terminology.
VHDL: overview and simulation semantics.
Behavioral and structural modeling with VHDL.
High-level synthesis of digital systems.
Heuristics and optimization algorithms.
Testing and design for testability.
Invited industrial lecture (Björn Fjellborg, Ericsson)
Laboratory part (Nima): Three seminars on assignments and CAD systems.
Lab assignments.
2013-01-14
3
55Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Recommended Literature
G. de Micheli: “Synthesis and Optimization of Digital Systems.”
Z. Navabi: “VHDL Analysis and Modeling of Digital Systems.” Other VHDL books can also be used.
A VHDL Cookbook is available at the course website.
Articles to be distributed, including: High-level synthesis of digital circuits.
Optimization heuristics.
Design for test and built-in self-test.
Lecture notes (www.ida.liu.se/~TDTS01).
66Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Lecture I
The test problems
The design challenges
Trend in microelectronics
Different design paradigms
2013-01-14
4
77Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
The Technological Trend
Clock Frequency (every 2 years)PerformanceMemory capacity
Number of transistors per chipwould double every 1.5 years
Moore’s Law:
1000 M
25 M
50 M
750 M
# of trans.
0080 85 90 9575
year
05 10
88Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Intel Microprocessor Evolution
8 Images courtesy of Intel Corporation
Intel 40042.3 Thousands transistors
10000 nm
Intel 8‐core Xeon2.3 Billion Transistor
45nm
2013-01-14
5
99Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
The SIA Roadmap
YearFeature size (nm)Logic: trans/cm2
Trans/chip#pads/chipClock (MHz)Chip size (mm2)Wiring levelsPower supply (V)High-perf pow (W)Battery pow (W)
2002 2005 2008 2011 2014130 100 70 50 3518M 44M 109M 269M 664M
67.6M 190M 539M 1523M 4308M2553 3492 4776 6532 89352100 3500 6000 10000 16900430 520 620 750 9007 7-8 8-9 9 10
1.5 1.2 0.9 0.6 0.5130 160 170 175 1832 2.4 2.8 3.2 3.7
SIA = Semiconductor Industry Association
1010Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
System on Chip (SoC)
Source: S3
Source: Stratus Computers
Hardware Software
Embeddedmemory
DSP
Network
High-speed electronicsSensor
Analogcircuit
ASIC
Microprocessor
2013-01-14
6
1111Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Lecture I
The test problems
The design challenges
Trend in microelectronics
Different design paradigms
1212Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Main Design Tasks
System specification (functional and requirement)
Hardware/software trade-offs
Architecture selection and exploration
Synthesis and optimization
Implementation
Testing and design for testability
Analysis and simulation
Verification and validation
Design management: storage of design data, cooperation between tools, design flow, etc.
2013-01-14
7
1313Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Design Objectives Unit cost: the cost of manufacturing each copy of the system,
excluding NRE cost.
NRE cost (Non-Recurring Engineering cost): The one-time cost of designing the system.
Size: the physical space required by the system.
Performance: the execution time or throughput .
Power: the amount of power consumed by the system.
Testability: the easiness of testing the system to make sure that it works correctly.
Flexibility: the ability to change the functionality of the system without incurring heavy NRE cost.
Correctness, safety, etc.
1414Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
2013-01-14
8
1515Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Mixed Technologies for Electronics
Embed in a single chip: Logic, Analog, DRAM blocks
Embed advanced technology blocks:
FPGA, Flash, RF/Microwave
FPGA
DRAM
SR
AM
LOGIC
FLASH
RF
Analog
Logic
Beyond Electronic
MEMS (Micro Electro Mechanical Systems)
Optical elements
1616Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
The Challenges
System complexity Increasing functionality and diversity
Increasing performance
Stringent design requirements Low cost
Low power
High reliability, testability, and flexibility
Technology challenges for cost-efficient implementation Deep submicron effects
Issues related to process variation
2013-01-14
9
1717Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Possible Solutions
Powerful design methodology and tools.
Advanced architecture (modularity).
Extensive design reuse.
Design Paradigm Shift
1818Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Lecture I
The test problems
The design challenges
Trend in microelectronics
Different design paradigms
2013-01-14
10
1919Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Capture and Simulate
The detailed design is captured in a model.
The model is simulated.
The results are used to guide the improvement of the design.
All design decisions are made by the designers.
abc
d
o
2020Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Abstraction Hierarchy
Layout/silicon level The physical layout of the integrated circuits is described.
abc
d
o
in o u t
Circuit level The detailed circuits of transistors, resistors, and capacitors are described.
Logic (gate) level The design is given as gates and their interconnections.
2013-01-14
11
2121Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Abstraction Hierarchy (Cont’d)
Register-transfer level (RTL) Operations are described as transfers of values between registers.
Algorithmic level A system is described as a set of usually concurrent algorithms.
System level A system is described as a set of processors and communication channels.
clk
p R1 O
R2
For I=0 To 2 LoopWait until clk’event and clk = ´1´;If (rgb[I] < 248) Then
P = rgb[I] mod 8;Q = filter(x, y) * 8;
End If;
2222Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Gajski’s Y-ChartSystem level
RT - level
Logic level
Circuit level
CPU, Memory, Bus
ALU, Reg., MUX
Gate, Flip-Flop
Transistor
Algorithms, processes
Register-Transfer Spec.
Boolean Eqn.
Transistor functions.
Transistor layouts
Standard-Cell/Subcell
Macro-Cell, chips
Board, MCMs
Behavioraldomain
Structuraldomain
Physical/geometricaldomain
2013-01-14
12
2323Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
The Three Domains
Structural domain — A component is described in terms on an interconnection of more primitive components.
Behavioral domain — A component is described by defining its input/output response.
Physical/geometrical domain — A component is described in terms of its physical placement and characteristics (e.g., shape).
2424Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
A Typical Top-Down Design ProcessSystem level
RT - leve l
Lo gic leve l
C ircui t level
C PU, Memory, Bu s
AL U, R eg., MUX
Gate , F l ip -F lop
Transistor
Algo rithm s, p rocesse s
R eg iste r- Tran sfer S pec.
B oolean Eq n.
Tra nsisto r func t ions.
Tra nsistor layou ts
S ta nda rd -Ce ll/S ubce ll
Ma cro-C ell , chips
B oard, MC Ms
Structural Dom ain
Behavioral D om ain
Physical D om ain
1
InformalSpecification
2013-01-14
13
2525Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Describe and Synthesize Paradigm
Description of a design in terms of behavioral specification.
Refinement of the design towards an implementation by adding structural details.
Evaluation of the design in terms of a cost function and the design is optimized w.r.t. the cost function.
o1 = (a + b) c + d c;o2 = (d +f) c;o3 = (a + b) d + d f;...
abc
d
o
2626Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
High-Level Describe and Synthesize
Description of a design in terms of behavioral specification.
Refinement of the design towards an implementation by adding structural details.
Evaluation of the design in terms of a cost function and the design is optimized for the cost function.
For I=0 To 2 LoopWait until clk’eventand clk=´1´;If (rgb[I] < 248) Then
P=rgb[I] mod 8;...
clk
p
R
enable
O
2013-01-14
14
2727Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Core-based Design
DRAM CPU
ROMANALOG
SRAM
RF
UDL
DSP
FPU
Utilization of pre-designed and pre-verified cores:
Reuse of large IP blocks, such as CPU, DSP, memory modules,
communication infrastructure, and analog blocks.
Divide-and-conquer design methodology.
Flexibility based on different core description levels:
Soft: RT level (synthesizable
VHDL/Verilog).
Firm: Gate-level netlist.
Hard: Layout.
Legal issues:
IP right protection.
Liability in case of failures.
2828Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Platform-based Design
A platform is a partial design: for a particular application area;
includes embedded processor(s);
may include embedded software;
customizable to specific requirements.
A platform captures the good solutions to the important design challenges in a given application area.
A method for design re-use at all abstraction levels based on assembling and configuring platform components in a rapid and reliable fashion. It reuses architectures.
2013-01-14
15
2929Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Platform-based Design Steps
Design the platform. A highly configurable system
architecture.
Optimize for performance, power, etc.
Useful for a set of applications.
Tools to explore the different configurations.
Use the platform. Modify hardware components for
the customer’s needs.
Optimize the software.
HW/SW integration and test.
requirements past designs
platform
userneeds
product
3030Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Lecture I
The test problems
The design challenges
Trend in microelectronics
Different design paradigms
2013-01-14
16
3131Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Testing and its Current Practice
Testing aims at the detection of physical faults (production errors/defects and physical failures).
Different from the design task, testing is performed on each individual chip, after they are manufactured.
The common approach to perform testing is to utilize an Automatic Test Equipment (ATE).
Automatic Test Equipment
3232Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Testing of Mixed Technologies
How to test the mixed chip?
Use multiple ATEs for a single chip: Logic ATE, Memory ATE, Analog ATE, etc. Usually time
consuming.
Employ a super ATE with combined capabilities. Usually very expensive.
FPGA
DRAM
SR
AM
LOGIC
FLASH
RF
Analog
Logic
2013-01-14
17
3333Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
High Complexity
# of transistors increases exponentially.
# of access port remains stable.
Implication:
# of transistors per pin (Testing Complexity Index) increases rapidly.
Testing Complexity Index - [#Tr. per Pin]
19920.5
20072004200119981995
1.60E+ 5
0.10.120180.250.35
1.00E+ 5
1.40E+ 5
4.00E+ 4
2.00E+ 4
0.00E+ 0
6.00E+ 4
8.00E+ 5
Implications of SIA Roadmap: Testing
F. Size [m]Year
Source: W. Maly, 1996
Source: SIA Roadmap
3434Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Built-In Self Test (BIST)
Solution: Dedicated built-in hardware for embedded test functions.
No need for expensive ATE.
At-speed testing. Concurrent test
possible. Support O&M. Support field test and
diagnosis.
External Test
Standard Digital Tester
Limited Speed/
Accuracy
Low Cost-per-Pin
Built-In Embedded Test
Pattern GenerationResult Compression
DiagnosticsPower Management
Test Control
Support forBoard-level Test
System-Level Test
Logic
Mixed-Signal
Memory
I/Os & Interconn.
Source: LogicVision
2013-01-14
18
3535Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Challenges to CAD Communities
System specification with very high-level languages.
Modeling techniques for heterogeneous system.
Hardware/software co-design.
Testing issue to be considered during the design process.
Design verifications -> get the whole system right the first time!
Very efficient power saving techniques.
Global optimization.
3636Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
The Electronics System Designer
2013-01-14
19
3737Zebo Peng, IDA, LiTHZebo Peng, IDA, LiTH TDTS01 Lecture Notes – Lecture 1TDTS01 Lecture Notes – Lecture 1
Conclusion Remarks
Much of design of digital systems is managing complexity.
What is needed: new techniques and tools to help the designers in the design process, taking into account different aspects.
We need especially design tools working at the higher levels of abstraction.
If the complexity of the microelectronics technology will continue to grow, the migration towards higher abstraction level will continue.