Section 2: Processing Unit - PowerPoint PPT Presentation

1 / 31
About This Presentation
Title:

Section 2: Processing Unit

Description:

making it possible to fabricate large memory at a low cost (but w/o regular reprogramming) ... Cons: Larger, high expense, difficult fabrication than EPROM ... – PowerPoint PPT presentation

Number of Views:39
Avg rating:3.0/5.0
Slides: 32
Provided by: yon8
Category:

less

Transcript and Presenter's Notes

Title: Section 2: Processing Unit


1
Section 2 Processing Unit
2
Overview
  • Microprocessor/Microcontrollers
  • Digital Signal Processing Processor
  • DSP Cores
  • Time Processing Units

3
Good System in General?
  • Fast
  • Inexpensive
  • Reliable
  • Low Power (Portable)
  • Quiet
  • Light (Portable)
  • Durable
  • Small
  • Expandable
  • Software compatibility

4
Todays Embedded Processors
Retargetable Compilers for Embedded Core
Processor by C. Liem
5
Microprocessors Microcontroller
  • Originally designed for general purpose computing
  • Microcontroller One-chip solution
  • CPU
  • RAM
  • EPROM/ROM
  • Serial parallel I/O
  • Timers and various controllers
  • Advantage
  • Flexible, verified, off-the-shelf
  • Popular microcontroller/microprocessors
  • Motorola 6800/68000 series (6805, 68hc11, 683xx)
  • Intel 80xx/80x86 series (8051, 80?86, i960)
  • TMS370 (TI), COP series (Natl Semiconductor)
    etc.

6
Instruction Architecture
  • RISC (e.g. MIPS)
  • simple instruction format
  • e.g. MIPS I,J,R type
  • small instruction set
  • regular instruction timing
  • easy for pipelining
  • large register file
  • load/store architecture
  • overall simple architecture
  • VLIW
  • Superscaler
  • CISC (e.g. 68000)
  • variable instruction format
  • various instruction size
  • data dependent decoding
  • irregular instruction timing
  • many addressing modes
  • SISC (ASIP)
  • Specific Instruction Set computer
  • Harvard Architecture
  • separate data/instruction bus

7
DSP Processor
DSP Processor Fundamentals by Lapsley etc.
8
DSP Processors Typical Application
DSP Processor Fundamentals by Lapsley etc.
9
Common Features of DSP Processors
DSP Processor Fundamentals by Lapsley etc.
10
Commercial DSP Processors
DSP Processor Fundamentals by Lapsley etc.
11
DSP Cores (ASICs)
DSP Processor Fundamentals by Lapsley etc.
12
Common Features of DSP cores
  • Performs dedicated function
  • Very strict real-time requirement
  • Correctness is essential due to the impact on the
    surrounding environment

13
Commercial DSP Cores
14
Timer Application in Embedded Systems
  • Real-Time clock
  • generates an interrupt at periodic intervals
  • used by OS to switch between tasks
  • update a record of the time of day
  • Square-Wave Generator
  • Interrupt after Timeout
  • watchdog timer
  • Elapsed Time Measurement

15
68332 Time Processing Unit
  • An intelligent, semi-autonomous micro-controller
    designed for timing control
  • Functions
  • Schedules tasks (Scheduler, 3 priorities)
  • Processes ROM instructions (Control Store for
    built-in functions)
  • Accesses shared data w/ the CPU (Control Reg, and
    Para. Ram)
  • Performs input and output
  • Features
  • 16 independent, programmable, orthogonal channels
  • Interchannel communication
  • 2 prescaler registers (System-clock or external
    clock time base)
  • Many factory programmed time functions
  • Programmable channel priority
  • Emulation support

16
TPU Block Diagram
Priority-based (H/M/L) schedule
prescaler
Intermodule Bus
Microprogram for built-in function
Select/Initialize channel/function
17
Built-in Functions
  • Period/Pulse-Width Accumulator
  • Output Compare
  • Input Capture/Input Transition Count
  • Discrete Input/Output (16 bit)
  • Pulse Width Modulation
  • Period Measurement
  • Stepper Motor Control
  • and more...

18
Section 3 Memory
19
Overview
  • Taxonomy
  • SRAM vs. DRAM
  • ROM, EPROM, EEPROM, and FLASH Memory

20
Memory Taxonomy
  • RAM vs. ROM
  • READ/WRITE Random Access Memory SRAM, DRAM
  • (Programmable) Read Only Memory ROM, EPROM,
    EEPROM
  • Static vs. Dynamic
  • Static SRAM, PROM
  • Dynamic DRAM
  • Synchronous vs. Asynchronous
  • SRAM Writeback vs. Pipeline Burst or
    Synchronous Burst
  • DRAM FPM or EDO vs. SDRAM
  • Volatile vs. Nonvolatile
  • Volatile Normal RAMs
  • Nonvolatile ROM, EPROM, Battery-backed CMOS

21
SRAM - 6T design
Flip/Flop
6 transistor for 1 bit of information
Read Data/Data precharged to Vcc
Assert Row Address
Complimentary design very little static
power consumption
Write Place data on Data/Data
Assert Row Address
22
Static RAM
  • 6T design (vs. 4T design)
  • Pros
  • high speed
  • low Power
  • better noise immunity
  • Cons
  • larger area
  • Synchronous (vs. Async)
  • high performance
  • synchronous burst
  • pipeline burst
  • Nonvolatile
  • battery backed-up
  • CMOS (BIOS) memory

23
SRAM vs. DRAM
  • SRAM
  • lt10ns
  • cache/CMOS
  • 4T/6T
  • 4 x larger than DRAM
  • volatile or nonvolatile
  • asynchronous or synchronous
  • Async WB, WT
  • Sync Sync. Burst, PB
  • Packaging
  • On-Chip or DIP
  • Typical (cache) size
  • Internal 16KB16KB (or 32K)
  • External 256-512KB
  • Simple interface (easier to use)
  • 10 x more expensive than DRAM
  • DRAM
  • 60ns-80ns
  • main memory
  • 1T 1C/3T
  • requires refresh logic
  • row/column multiplexed access
  • volatile
  • asynchronous or synchronous
  • Async EDO, FPM, BEDO
  • Sync SDRAM
  • Packaging
  • SIMM, SIPP, DIMM
  • Typical size
  • 32-64MB
  • upto 1GB
  • Very complex interface

24
RAM Configuration
NxM (N of locations, M of bits per location)
1Mx16-bit memory organization w/ 1Mx8-bit chips
25
RAM Configuration (contd)
4M-wordsx16-bits w/ 512Kx8 chips
4M-wordsx16-bits w/ 4Mx1 chips
26
CMOS Memory
  • CMOS (Complementary MOS)
  • Normal implementation technology of todays
    memory
  • Main advantage low power (very small static
    power dissipation)
  • Most power consumption dynamic power consumption
  • dynamic power (C capacitance, fswitching,
    V power supply)
  • Small static power consumption makes it possible
    to operate CMOS memory from small batteries when
    the main power is off.
  • Standby mode
  • Power consumption 0.1 mW (200mW for active R/W)
  • Vcc is reduced (from 5V) to no less than 2.0V
    proper CS control

27
EPROM (Erasable Programmable ROM)
  • Non-volatile
  • Can be programmed and reprogrammed by user
  • Invariably byte-organized (Nx8)
  • Mainly found in
  • embedded system where firmware is held.
  • palmtop where OS and system software are held
  • bootstrap loader

floating gate
28
EPROM (contd)

D
  • Characteristics
  • floating gate enables non-volatility
  • UV-light exposure for erasing (several min)
  • Re-programming takes about 5-10 sec/word
    (EPROM programmer) w/ Vpp10-20V
  • Access time about 100ns
  • Low cost and small cell size (20 m2 at the
    1-Mbit)
  • Low endurance maximum of 1000 erase/program
    cycle
  • Reliability Issue device thresholds might vary
    w/ repeated reprogramming
  • In summary, extremely simple, and dense. making
    it possible to fabricate large memory at a low
    cost (but w/o regular reprogramming)

G
S
29
EEPROM
  • Electrical Erasure procedure
  • FLOTOX (Floating-gate tunneling oxide) a
    modified FG
  • Reduced gap between floating gate and
    channel/drain from 100nm (EPROM) to 10-20nm
  • Fowler-Nordheim tunneling
  • When a voltage of approximately 10V is applied
    over the thin insulator, electrons travel to and
    from the floating gate by a mechanism called
    Fowler-Nordheim tunneling.
  • Reversible process
  • Erasing is simply achieved by reversing the
    voltage applied during the writing process.
  • may pose the problem of threshold control
  • Cons Larger, high expense, difficult fabrication
    than EPROM
  • Pros Versatile (105 erase/write cycles)

30
Flash EEPROM
  • Technically, a combination of EPROM EEPROM
  • Programming avalanche hot-electron-injection
  • Erasure Fowler-Nordheim tunneling
  • Difference
  • erasure is performed in bulk for the complete
    chip, or for a subsection of the memory - removal
    of extra transistor in EEPROM
  • Simpler cell structure, smaller cell size, high
    integration density
  • Programming Erasure 12V internally generated

31
EPROM vs. EEPROM vs. Flash EEPROM
Jan Rabaey Digital Integrated Circuits
Write a Comment
User Comments (0)
About PowerShow.com