Design of Embedded Systems: An Introduction
Design of Embedded Systems: An Introduction
An Introduction
http://www.cs.lth.se/EDAN15
Krzysztof Kuchcinski
[email protected]
Department of Computer Science
Lund Institute of Technology
Sweden
1 / 37
2 / 37
3 / 37
Outline
1
Introduction
Course Organization
Anti-lock brakes
Auto-focus cameras
Automatic teller machines
Automatic toll systems
Automatic transmission
Avionic systems
Battery chargers
Camcorders
Cell phones
Cell-phone base stations
Cordless phones
Cruise control
Curbside check-in systems
Digital cameras
Disk drives
Electronic card readers
Electronic instruments
Electronic toys/games
Factory control
Fax machines
Fingerprint identifiers
Home security systems
Life-support systems
Medical testing systems
4 / 37
Course Organization
Twelve lectures.
Four lab assignments plus an introductory lab.
carried out in groups of two students
use special software and hardware (lab Neptunus)
require preparation
deadline for lab reports (last lab assignment) May 31.
Group
1
2
3
day
Wed
Wed
Wed
time
8-10
13-15
15-17
room
Neptunus
Neptunus
Neptunus
5 / 37
Obligatory examinations
2 June 2014 at 8-13, Sparat:A-B
27 August 2014 at 8-13, MA08-A
January 2015 ...
Books:
Peter Marwedel, Embedded System Design, 2nd Edition, Springer,
2011 (ISBN: 978-94-007-0256-1).
6 / 37
Lectures
Preliminary Schedule
Date
14-03-17
14-03-21
14-03-24
14-03-28
14-01-31
14-04-04
14-04-07
14-04-11
14-05-05
14-04-09
14-05-12
14-05-16
Content
Introduction, motivation, etc.
Design methodology (HW/SW co-design, etc)
Specification and programming of
Embedded Systems
Computational models
Design representations
System partitioning
Allocation, assignment
and scheduling
Communication synthesis
Testability
Low-power design
7 / 37
Embedded Systems
A device that includes a programmable computer but is not
itself a general-purpose computer
Execution deadlines,
Power consumption constraints,
:
Kris Kuchcinski (LTH)
8 / 37
9 / 37
10 / 37
11 / 37
12 / 37
13 / 37
Source: F. Vahid and T. Givargis, Embedded System Design: A Unified Hardware Software Approach
14 / 37
15 / 37
PDP-11
Kris Kuchcinski (LTH)
PDP-11
Design of Embedded Systems
16 / 37
WITAS project
Autonomous system.
Real-time system.
Image processing.
Mission planning.
Incorporation of GIS
systems.
Interface with ground
operator.
...
http://www.ida.liu.se/ext/witas
17 / 37
Implements
Low data-rate DSP
Slow control loops
Appl. Spec. alg.
User interface
Slow control loops
High data-rate DSP
RT level synth.
Internal & external
communication
Storage & buffering
Usually FSMDs
- clock generators
- DMA blocks
Compiler
(Retargetable)
code generator
High level synth.
C compiler
High level synth.
Memory mgmt.
(A)synchronous
interface synth.
RT level synth.
Asynchronous
synth.
Specification
Assembly
C
C
C, VHDL
Verilog
Data-sheets
VHDL
18 / 37
19 / 37
20 / 37
21 / 37
21 / 37
21 / 37
22 / 37
Structural
Domain
System level
RTL
Algorithm
RT specication
Circuit level
Gate, ip-op
Boolean eq.
Transistor
Transistor function
Transistor layout
Standard cell/subcell
Macrocell, chip
Board
Physical
Domain
Design Domains
behavioral representations - describe only circuits function, for
example
if clock=high then counter:= counter+1
NAND
NAND
NAND
My
Cell
Out
23 / 37
24 / 37
Hardware
speed,
power consumption,
cost in large volumes,
...
25 / 37
26 / 37
27 / 37
28 / 37
29 / 37
Design Representations
(Computational Model)
Used to represent/model digital systems under design.
Generated by a compiler from system specification or coded
directly in the model.
Represent the semantics, structure and timing of the system.
Usually based on some kind of annotated graph representation.
Used internally by design automation systems or by the
modeler/designer.
30 / 37
Design Synthesis
Software is translated into target code for a processor.
Real-time operating system might be used.
Hardware synthesis translation of a behavioral representation of
a design into a structural one.
Communication synthesis generates hardware and software
which interconnects system components.
31 / 37
32 / 37
Source: F. Vahid and T. Givargis, Embedded System Design: A Unified Hardware Software Approach
33 / 37
40
Cloc k
st e ps
30
Add 4
20
Add 3
A dd 2
10
Add 4
0
M ul
M ul
M ul
M ul
Add 2
Add 1
34 / 37
40
30
20
CPU
10
C PU
DSP
ASI C
Design time
Cost
Power
Speed
35 / 37
Time-to-market constraint
need time for new
product development,
the biggest profit is in
the market window time,
missing the market
window can be costly
36 / 37
Summary
Embedded systems are important class of electronic systems
which can be found everywhere,
Combine hardware and software solutions,
Cover several engineering and research areas:
microelectronics,
real-time systems,
software development,
etc.
37 / 37