esppt1
esppt1
Introduction of Embedded
System
Pinalkumar Engineer
1
20-01-2023
Common Characteristics
• Single-functioned:
• An embedded system usually executes only one program, repeatedly.
• Tightly constrained:
• All computing systems have constraints on design metrics, but those on embedded systems can be
especially tight.
• such as cost, size, performance, and power.
• Embedded systems often must cost just a few dollars, must be sized to fit on a single chip, must
perform fast enough to process data in real-time, and must consume minimum power to extend battery
life or prevent the necessity of a cooling fan.
• Reactive and real-time:
• Many embedded systems must continually react to changes in the system’s environment, and must
compute certain results in real time without delay.
• For example, a car's cruise controller continually monitors and reacts to speed and brake sensors. It
must compute acceleration or decelerations amounts repeatedly within a limited time; a delayed
computation result could result in a failure to maintain control of the car.
Example:
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
2
20-01-2023
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
5
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
6
3
20-01-2023
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
7
Performance Size
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
8
4
20-01-2023
Revenues ($)
Time (months)
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
9
Delayed
D W 2W
On-time Delayed Time
entry entry
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
10
5
20-01-2023
Revenues ($)
• Try some examples Market rise Market fall
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
11
• Example
– NRE=$2000, unit=$100
– For 10 units
– total cost = $2000 + 10*$100 = $3000
– per-product cost = $2000/10 + $100 = $300
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
12
6
20-01-2023
$200,000 $200
A A
B B
$160,000 $160
C C
tota l c o st (x1000)
p er p ro d uc t c ost
$120,000 $120
$80,000 $80
$40,000 $40
$0 $0
0 800 1600 2400 0 800 1600 2400
Numb er of units (volum e) Numb er of units (volu me)
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
13
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
14
7
20-01-2023
15
16
8
20-01-2023
17
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
18
9
20-01-2023
Processor technology
• The architecture of the computation engine used to implement a system’s
desired functionality
• Processor does not have to be programmable
• “Processor” not equal to general-purpose processor
Controller Datapath Controller Datapath Controller Datapath
Control index
Control Register Control logic Registers
logic
logic and file and State total
State register State
Custom +
register
ALU register
General
IR PC ALU IR PC
Data Data
memory memory
Program Data Program
memory memory memory
Assembly code Assembly code
for: for:
total = 0 total = 0
for i =1 to … for i =1 to …
General-purpose (“software”) Application-specific Single-purpose (“hardware”)
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
19
Processor technology
• Processors vary in their customization for the problem at hand
total = 0
for i = 1 to N loop
total += M[i]
end loop
Desired
functionality
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
20
10
20-01-2023
General-purpose processors
• Programmable device used in a variety of
applications Controller Datapath
• User benefits
Program Data
• Low time-to-market and NRE costs memory memory
• High flexibility Assembly code
for:
• “x86” the most well-known, but there are hundreds
of others total = 0
for i =1 to …
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
21
Single-purpose processors
• Digital circuit designed to execute exactly one
program Controller Datapath
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
22
11
20-01-2023
Application-specific processors
• Programmable processor optimized for a
Controller Datapath
particular class of applications having common
characteristics Control
logic and
Registers
total = 0
• Some flexibility, good performance, size and power for i =1 to …
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
23
IC technology
• Three types of IC technologies
• Full-custom/VLSI
• Semi-custom ASIC (gate array and standard cell)
• PLD (Programmable Logic Devices)
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
24
12
20-01-2023
Design Technology
Compilation/ Libraries/ Test/
• The manner in Synthesis
IP Verification
which we System System Hw/Sw/ Model simulat./
Compilation/Synthesis:
convert our Automates exploration and
specification synthesis OS checkers
concept of insertion of implementation
desired system details for lower level.
Behavioral Behavior Cores Hw-Sw
functionality specification synthesis cosimulators
Libraries/IP: Incorporates pre-
into an designed implementation
implementation from lower abstraction level
RT RT RT HDL simulators
into higher level. synthesis
specification components
Test/Verification: Ensures
correct functionality at each
Logic Logic Gates/ Gate
level, thus reducing costly
specification synthesis Cells simulators
iterations between levels.
To final implementation
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
25
Summary
• Embedded systems are everywhere
• Key challenge: optimization of design metrics
• Design metrics compete with one another
• A unified view of hardware and software is necessary to improve productivity
• Three key technologies
• Processor: general-purpose, application-specific, single-purpose
• IC: Full-custom, semi-custom, PLD
• Design: Compilation/synthesis, libraries/IP, test/verification
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
26
13
20-01-2023
Summary
• Embedded systems are everywhere
• Key challenge: optimization of design metrics
• Design metrics compete with one another
• A unified view of hardware and software is necessary to improve productivity
• Three key technologies
• Processor: general-purpose, application-specific, single-purpose
• IC: Full-custom, semi-custom, PLD
• Design: Compilation/synthesis, libraries/IP, test/verification
Frank Vahid and Tony Givargis, “Embedded System Design: A Unified Hardware/Software Approach”
27
14
20-01-2023
15
20-01-2023
16