Download presentation
Presentation is loading. Please wait.
Published byCalvin Lang Modified over 6 years ago
1
EEE2135 Digital Logic Design Chapter 2. Embedded Computing/ Systems
서강대학교 전자공학과
2
Special-purpose Processor (Embedded Processor )
Manufacturer-programmable Dedicated applications Mostly mobile Has strict timing constraints (Real-time systems) Tasks are periodic Mostly embedded systems Battery operation Platform Application-oriented processors Low power, Good UI, Fancy features desired Many different processors - Short TTM - Powerful design aids needed Opportunities open (ex. ARM, HTC, ..) General-purpose Processor User-programmable Diverse applications Must provide an efficient programming environment Flexible e. Platform Powerful processors OS developed to manage all resources efficiently Higher utilization and less waiting time desired Monopoly (ex. Pentium, MS, SUN, …)
3
How many (µ-)processors do you own?
Average individual in developed country owns around 100 (µ-)processors Almost all are embedded Maybe 10,000 processors/person by 2012! (according to Moore’s Law)
4
Future Computing Infrastructure
5
What is an Embedded Computer?
A computer not used to run general-purpose programs, but instead used as a component of a system. Usually, user cannot change the computer program (except for minor upgrades) Example applications: Cellphone Digital camera (some have several processors) Games machines Set-top boxes (DVD players, personal video recorders, ...) Digital Televisions Car (some have dozens of processors) Routers Cellphone basestation .... many more
6
Cars Modern cars: Up to 100 or more processors Engine control unit
Emissions control Diagnostics Automatic transmission Accessories (doors, windows, etc) CAN
7
Important Parameters for Embedded Computers
Real-time performance hard real-time: if deadline misses, system fails soft real-time: missing deadline degrades performance (e.g. skipping frames on DVD playback) Real-world I/O performance Sensors/actuators require continuous I/O (can’t batch process) Power - expensive package and cooling affects cost, system size, weight Cost includes cost of supporting structures, particularly memory static code size very important (cost of ROM/RAM) millions of copies (worth engineer time to optimize cost down) Performance ? Throughput, latency, power, area
8
Performance in Throughput
Which is best for desktop performance? Which is best for hard real-time task?
9
Impacts on Computer System
Energy consumed per task determines battery life Second order effect is that higher current draws decrease effective battery energy capacity (higher power also lowers battery life) Current draw causes IR drops in power supply voltage Requires more power/ground pins to reduce resistance R Requires thick & wide on-chip metal wires or dedicated metal layers Switching current (dI/dt) causes inductive power supply voltage bounce ∝ LdI/dt Requires more pins/shorter pins to reduce inductance L Requires on-chip/on-package decoupling capacitance to help bypass pins during switching transients Power dissipated as heat, higher temps reduce speed and reliability Requires more expensive packaging and cooling systems Laptop temperature
10
Power Dissipation in CMOS
Primary Components: Capacitor Charging (85-90% of active power) Energy is CV2 per transition Short-Circuit Current (10-15% of active power) When both p and n transistors turn on during signal transition Sub-threshold Leakage (dominates when inactive) Transistors don’t turn off completely Becoming more significant part of active power with scaling Diode Leakage (negligible) Parasitic source and drain diodes leak to substrate
11
Reducing Switching Power
Power = α * CV2 * f Reduce activity factor α Reduce switched capacitance C Reduce supply voltage V Reduce frequency
12
Reducing Activity Clock Gating don’t clock f/fs if not needed
avoids transitioning downstream logic Pentium-4 has hundreds of gated clocks Bus Encodings choose encodings that minimize transitions on average (e.g., Gray code for address bus) compression schemes (move fewer bits) Remove Glitches balance logic paths to avoid glitches during settling use monotonic logic (Domino)
13
Reducing Supply Voltage/Frequency
Quadratic savings in energy per transition – Big effect Circuit speed is reduced Must lower clock frequency to maintain correctness Doesn’t save energy, just reduces rate at which it is consumed - Some saving in battery life from reduction in rate of discharge
14
Voltage Scaling for Reduced Energy
Reducing supply voltage by 0.5 improves energy per transition by 0.25 Performance is reduced – need to use slower clock Can regain performance with parallel architecture Alternatively, can trade surplus performance for lower energy by reducing supply voltage until “just enough” performance Dynamic Voltage Scaling
15
Types of Embedded Processor
General Purpose Processors - often too expensive, hot, unpredictable, and require too much support logic for embedded applications Microcontroller emphasizes bit-level operations and control-flow intensive operations (a programmable state machine) usually includes on-chip memories and I/O devices DSP (Digital Signal Processor) - organized around a multiply-accumulate engine for digital signal processing applications FPGA (Field Programmable Gate Array) - reconfigurable logic can replace processors/DSPs for some applications
16
New Forms of Domain-Specific Processor
Network processor arrays of 8-16 simple multi-threaded processor cores on a single chip used to process Internet packets used in high-end routers Media processor conventional RISC or VLIW engine extended with media processing instructions (SIMD or Vector) used in set-top boxes, DVD players, digital cameras
17
Programming Embedded Computers
Microcontrollers, DSPs, network processors, media processors usually have complex, non-orthogonal instruction sets with specialized instructions and special memory structures poor compiled code quality (% peak with compiled code) high static code efficiency high MIPS/$ and MIPS/W usually assembly-coded in critical loops Worth one engineer year in code development to save $1 on system that will ship 1M units Assembly coding easier than ASIC chip design But, room for improvement…
18
Embedded Systems Embedded systems
- ‘A special-purpose processor built into a larger device’ ‘Special-purpose’ Embedded systems have a (more or less) well-defined purpose ‘Built into a larger device’ ESs are (usually) part of a larger system (with limited peripherals), augmenting its capabilities Application-specific Both hardware and software is tailored to applications, which are well defined However, re-programmability is a requirement ‘HALT’ is a bad state! Interaction with the physical world
19
Small (and cool) SoCs SPEC: one step closer to “Smart Dust” ㅡ Mote for Ubiquitous Sensor Network 2mm x 2.5 mm AVR-like RISC core 3k RAM 8-bit ADC FSK radio transceiver Paged memory system Lots of other cool stuff… Manufacturing cost $ 0.3 for die $ 0.5 for the five external components (antenna, crystals, power source etc)
20
Constraints Hardware Processor, Memory Power consumption
Limited peripherals and slower buses Size, weight, environmental reliability Software Latency : ‘Hard’ or ‘Soft’ Real-time requirements Limited HW resources Reliability : Not very easy to debug Device heterogeneity - Interoperability becomes an issue!
21
Embedded System Hardware
Commercial off-the-shelf components (COTS) wireless radios, sensors, I/O devices Cheap Application-Specific ICs (ASICs) ICs tailored to meet application needs Good performance for their intended task(s) Original ESs were ASICs only Domain-specific processors DSPs Microcontrollers Microprocessors
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.