Title: EECE Embedded System Design
1EECE Embedded System Design
2Memory
- For the memory, efficiency is again a concern
- speed (latency and throughput) predictable
timing - energy efficiency
- size
- cost
- other attributes (volatile vs. persistent, etc)
3Access times and energy consumption increases
with the size of the memory
"Currently, the size of some applications is
doubling every 10 months"
Example (CACTI Model)
4Access times and energy consumptionfor
multi-ported register files
- Rixners et al. model HPCA00, Technology of
0.18 mm
5Reducing energy consumption with Sub-banking
- shorter wires,
- lower capacitances,
- faster access
6How much of the energy consumption of a system is
memory-related?
7CPU Power Dissipation
42/40 again memory-related !
IEEE Journal of SSC Nov. 96
Proceedings of ISSCC 94
8Access-times will be a problem
- Speed gap between processor and main DRAM
increases
- early 60ties (Atlas)page fault 2500
instructions - 2002 (2 GHz µP)access to DRAM 500
instructions - ? penalty for cache miss about same as for page
fault in Atlas
9Predictability is a problem (1)
- Embedded system systems are often real-time
systems - Have to guarantee meeting timing constraints.
- Predictability For satisfying timing constraints
in hard real-time systems, predictability is the
most important concernpre run-time scheduling
is often the only practical means of providing
predictability in a complex system Xu, Parnas - Time-triggered, statically scheduled operating
systems
10Predictability is a problem (2)
- Currently available caches dont solve the
problem - Improve the average case behavior
- Use non-deterministic cache replacement
algorithms - Scratch-pad/tightly coupled memory based
predictability
11Hierarchical memoriesusing scratch pad memories
(SPM)
Hierarchy
Example
no tag memory
12Comparison of currents using measurements
E.g. ATMEL board with ARM7TDMI andext. SRAM
/3
13Comparison of energy consumption
Example Atmel ARM-Evaluation board
Main memory access takes more cycles?savings
(86) larger than for current.
energy reduction/ 7.06
14Why not just use a cache ?
Worst case execution time (WCET) may be large
15Why not just use a cache ? (2)
- Energy for parallel access of sets, in
comparators, muxes.
16Influence of the associativity
Parameters different from previous slides
17Flash Memory Based on EPROM/EEPROM-Memory
EPROM storage cell
Row (j)
FG charged
FG not charged
Ground
Read amplifier
floating gate FG can be charged by high
voltage. Charged transistor non-conducting if row
selected. Discharging with UV light.
18EEPROMS storage cell
EEPROM electrically erasable read only
memory. EEPROM needs additional transistor per bit
Writing and erasing requires just electrical
signals
19NOR- and NAND-Flash
- NOR Transistor between bit line and ground
- NAND Several transistor between bit line and
ground
contact
contact
20Properties of NOR- and NAND-Flash memories