Professional Documents
Culture Documents
Programming
Microcontrollers
Introduction to Embedded Systems
Processor Technology
Single purpose and General purpose processors
Embedded Systems Hardware and Software
Interfacing
IC Technology
Design Technology
Programmable logic devices like, Programmable
array logic (PAL) Programmable logic array (PLA),
complex Programming logic device (CPLD),
Application Specific Integrated Circuits (ASIC) and
Field Programmable Gate Arrays (FPGA)
Software for embedded systems: Introduction to
development environment: FPGA development kit
(Spartan-III, Spartan 6), Introduction to Verilog
Development of various applications like Mux,
Demux, counters, registers, ALU etc
Computer Architecture, A Quantitative approach by
Dr. David A. Patterson and Dr. Paul Hennessey, -
Digital Computer Electronics by Malvino & Brown.
Embedded System Design: A unified
Hardware/Software Introduction. By Frank Vahid &
Tony D. Givarigis,
Embedded System Design. Hardware/ Software
System, by P. Marwedel
FPGA prototyping by VHDL examples: Xilinx
Spartan-3 version, By Pong P. Chu - Wiley-
Interscience.
Quiz : 10%
Assignment / Projects : 10%
Final Exam : 50 %
An electronic device that includes a programmable
computer, but is not itself intended to be a general-purpose
computer
It is not your desktop PC or portable PC. Some examples
are
Fax machines
Digital cameras
Mobile phones etc.
Millions of desktop PCs are manufactured every year
Billions of embedded computer systems are manufactured
every year
A combination of hardware and software which
together form a component of a larger machine. An
embedded system is designed to run on its own
without human intervention, and may be required to
respond to events in real time.
lens
Embedded Sensors/actuators/
processors are integral parts of
mechatronic systems
Dedicated to specific tasks
Real-time constraints
Cost sensitive
Power sensitive
Short design times
Harsh operating environments
Fail-safe operations
Restricted design and development tools
Sophisticated algorithms
Complex and reactive user interfaces
Complex testing requirements
How much “hardware” do we need?
How much “software” do we need?
What is the optimum balance between hardware and
software?
How do we meet operational deadlines?
How do we minimize power consumption?
How do we design for upgradeability?
How do we convince people that the system works
properly?
Unit cost: the monetary cost of manufacturing each copy of the
system, excluding NRE cost
Cardiac Pacemaker
Sense heartbeat
Deliver electrical stimulus to heart on basis of sensed “heart
events”
Rate of stimulation and duration of stimulus controlled by the
system
IC technology
Design technology
The architecture of the computation engine used
to implement a system’s desired functionality
Controller Datapath Controller Datapath Controller Datapath
Control index
Control Register Control logic and Registers
logic
logic and State file State register
total
register
Custom State register
+
ALU
General
ALU
IR PC IR PC
Data Data
memory memory
total = 0 total = 0
for i =1 to … for i =1 to …
Benefits total = 0
for i =1 to …
Some flexibility, good performance, size
and power
The manner in which a digital (gate-level)
implementation is mapped onto an IC
IC: Integrated circuit, or “chip”
IC technologies differ in their customization to a
design
IC’s consist of numerous layers (perhaps 10 or
more)
ICtechnologies differ with respect to who builds each
layer and when
gate
IC package IC oxide
source channel drain
Silicon substrate
Full-custom/VLSI
Design Rules
“simple” rules for correct circuit function
Metal/metal spacing, min poly width…
Also referred to as Application-specific IC (ASIC).
Lower layers are fully or partially built
Designers are left with routing of wires and maybe
placing some blocks
Benefits
Good performance, good size, less NRE cost than a full-
custom implementation (perhaps $10k to $100k)
Drawbacks
Still require weeks to months to develop
31
Gate Array
Array of prefabricated gates
“place” and route
Higher density, faster time-to-market
Does not integrate as well with full-custom
Standard Cell
A library of pre-designed cell
Place and route
Lower density, higher complexity
Integrate great with full-custom
32
10,000
1,000
1999
1981
1985
1987
1989
1991
1993
1995
1997
2001
2003
2005
2007
2009
The manner in which we convert our concept of
desired system functionality into an
implementation Compilation/
Synthesis
Libraries/
IP
Test/
Verification
To final implementation
1981
1983
1985
1987
1989
1991
1993
1995
1997
1999
2001
2003
2005
2007
2009
1
10
0.1
100
0.01
1,000
10,000
100,000
Productivity
Exponential increase over the past few decades
10,000 100,000
1,000 10,000
1983
1985
1987
1989
1991
1993
1995
1997
1999
2001
2003
2005
2007
2009
In the past: Sequential program code (e.g., C, VHDL)
Behavioral synthesis
Compilers
Hardware and software design (1960's,1970's)
(1990's)
The choice of hardware versus software for a particular function is simply a tradeoff among
various design metrics, like performance, power, size, NRE cost, and especially flexibility;
there is no fundamental difference between what hardware or software can implement.
Basic tradeoff
General vs. custom
With respect to processor technology or IC technology
The two technologies are independent
General- Single-
purpose ASIP purpose
General, processor processor Customized,
providing improved: providing improved:
Monitoring, Supervision