1 Embedded Systems
1 Embedded Systems
1 Embedded Systems
CSEE W4840
Prof. Stephen A. Edwards
Columbia University
Philips Philips
DVD Player TiVo Recorder
Embedded Systems – p. 3/2
Technical Challenges
Real-time Complexity
Price Functionality
Performance Size
Power Time-to-market
Maintainability Safety
Embedded Systems – p. 8/2
The Time-to-Market Challenge
Possible Revenue
Typical
time-to-market
constraint:
8 months
Market
Window
Time
Delayed curve
Time
D W 2W
Assuming a constant market ramp, on-time revenue is 12 bh = 12 · 2W · W = W 2
and delayed revenue is 12 (2W − D)(W − D) so fractional revenue loss is
D(3W − D)
2
= O(D 2 )
2W
log Volume
Embedded Systems – p. 11/2
Embedded System Technologies
Integrated Circuits
Processing elements
Design tools
108
106
104
102
1
10−2
10−4
1900 1910 1920 1930 1940 1950 1960 1970 1980 1990 2000
Source: Ray Kurzweil, The Age of Spiritual Machines
Embedded Systems – p. 15/2
1918 Sears Roebuck Catalog
Hardware Software
Parallel Sequential
Synchronous Asynchronous
Logic Gates Stored programs
Wire-based Memory-based
communication communication
Fixed topology Highly programmable
Low power High power
More detailed Less detailed
High NRE No NRE
Faster Slower
Embedded Systems – p. 18/2
Design Tools
Hardware Software
Logic Synthesis Compilers
Place-and-route Assemblers
DRC/ERC/LVS Linkers
Simulators Debuggers
Block Diagram
The XSB Board has two major groups of components that connect to the FPGA: 1) those
with dedicated buses, and 2) those that share a peripheral bus. Components that process
video and audio data streams use dedicated buses, while all other components use the
shared Peripheral Bus. (The audio codec actually connects to both types of buses: it is
loaded with configuration data through the Peripheral Bus but it sends and receives
digitized audio data through a dedicated bus.) The chip-selects for components on the
Peripheral Bus are controlled by the FPGA to prevent contention.
XC2S300E FPGA
CPLD
XC9572 CPLD
256K x 16 SRAM
Connector
4 Mb
RS232
Flash
8M x 16 SDRAM
512K x 8 Flash
Expansion
Connector
256K x 16
SRAM
Video
DAC
6-channel NTSC video decoder
12-bit, 30 MSPS ADC
80 MHz, 30-bit video DAC
Video
8M x 16
SDRAM
Decoder
20-bit, 4-input, 1-output stereo codec
Microphone/line-in/line-out jacks
Peripheral Bus
30 MSPS
ADC 10/100 Ethernet MAC+PHY
Ethernet
MAC+PHY
USB 2.0 peripheral port
Audio
Six pushbuttons, DIP switch
Expansion Codec
Connector Two LED digits, bargraph
Three programmable oscillators
Expansion
Connector
Buttons LEDs
Compact Flash
Connector
Compact Flash interface
IDE hard disk interface
Embedded Systems – p. 22/2
XSB BOARD V1.0 MANUAL 19 8/20/2003
Class Structure