Microprocessor types by applications 。 General-purpose Microprocessor -Desktop applications:X86,PowerPC Server applications ·科学和工程计算:Power1,Power2:,Powers3,Power4 ·数据库和事务处理:RS64,RS64-l,RS64-川 o Embedded Microprocessor: -focused on particular application area Microprocessors:Media,Graphic,Network and Communication ·Microcontrollers Digital Signal Processors (DSP) ·System on Chips(soc) Of todays microprocessors -95%go into embedded applications -50%of revenue stems from embedded systems llxx@ustc.edu.cn 6/87
• General-purpose Microprocessor – Desktop applications: X86、PowerPC – Server applications • 科学和工程计算:Power1, Power2, Power3, Power4 • 数据库和事务处理:RS64, RS64-II, RS64-III • Embedded Microprocessor: – focused on particular application area Microprocessor types by applications llxx@ustc.edu.cn 6/87 – focused on particular application area • Microprocessors: Media, Graphic, Network and Communication • Microcontrollers • Digital Signal Processors(DSP) • System on Chips(SoC) • Of todays microprocessors – 95% go into embedded applications – 50% of revenue stems from embedded systems
嵌入式微处理器 1瑞萨科技 0ver60亿片in2003 2飞思卡尔半导体PPC 3 Microchip Technology 9,000 4NEC电子 8,000 7,000 5英飞凌 9 6,000 6东芝 5,000 7 Atmel 4,000 8三星 3,000 9恩智浦半导体(NXP) 2,000 1,000 10意法半导体ARM 0 1997199819992000200120022003200420052006 SH3/SH41% ☐4-Bit■8-Bit☐16-Bit▣32-bit+ x868% By SEMICO PowerPC 12% ARI7 115% MIPS 8% ARI9 45 ARH11 13 Cortex-置0或夏3 10 Cortex-A8求Ag 5 其他 12% ARM 71% 0%5%10%15%20m25%30%35%40xJ45%50% 7187
嵌入式微处理器 1 瑞萨科技 2 飞思卡尔半导体PPC 3 Microchip Technology 4 NEC电子 5 英飞凌 6 东芝 7 Atmel 8 三星 9 恩智浦半导体(NXP) 7/87 9 恩智浦半导体(NXP) 10 意法半导体ARM
Microchip PIC单片机 初档8位单片机:P1C12C5XXX/16C5X系列 -最早在市场上得到发展,价格较低,有较完善的开发手段,在国内应用最广; -PIC12C5XX:世界第一个8引脚低价位单片机 ·512字节ROM、25字节RAM、一个8位定时器、一根输入线、5根I/O线 ·应用:摩托车点火器。售价36元/片。 一可用于简单的智能控制等一些对单片机体积要求较高的地方,前景十分广阔。 中档8位单片机:PIC12C6XX/PIC16CXXX系列 一近年来重点发展的系列产品,品种最为丰富。 ·增加了中断功能,指令周期达到200s,含A/D,内部E2PROM数据存储器,双时 钟工作,2C和SPI接口,异步串行通讯(UART),模拟电压比较器、LCD驱动等。 封装从8~68脚: 一可用于高、中、低档的电子产品设计。价格适中。 -PIC16C74:40引脚。含:4KROM、192字节RAM、8路AVD、3个8位定时器、 2个CCP模块、三个串行口、1个并行口、11个中断源、33个/O脚。 ·高档8位单片机:PIC17CXX系列P1C17CXX 一是适合高级复杂系统开发的系列产品,增加了硬件乘法器,指令周期可达成 160ns,性价比最高; 一可用于高、中档产品的开发,如马达控制、音调合成。 llxx@ustc.edu.cn 8/87
Microchip PIC单片机 • 初档8位单片机:PIC12C5XXX/16C5X系列 – 最早在市场上得到发展,价格较低,有较完善的开发手段,在国内应用最广; – PIC12C5XX:世界第一个8引脚低价位单片机 • 512字节ROM、25字节RAM、一个8位定时器、一根输入线、5根I/O线 • 应用:摩托车点火器。 售价3~6元/片。 – 可用于简单的智能控制等一些对单片机体积要求较高的地方,前景十分广阔。 • 中档8位单片机:PIC12C6XX/PIC16CXXX系列 – 近年来重点发展的系列产品,品种最为丰富。 llxx@ustc.edu.cn 8/87 – 近年来重点发展的系列产品,品种最为丰富。 • 增加了中断功能,指令周期达到200ns,含A/D,内部E2PROM数据存储器,双时 钟工作,I2C和SPI接口,异步串行通讯(UART),模拟电压比较器、LCD驱动等。 封装从8~68脚; – 可用于高、中、低档的电子产品设计。价格适中。 – PIC16C74:40引脚。含: 4K ROM、192字节RAM、8路A/D、3个8位定时器、 2个CCP模块、三个串行口、1个并行口、11个中断源、33个I/O脚。 • 高档8位单片机:PIC17CXX系列PIC17CXX – 是适合高级复杂系统开发的系列产品,增加了硬件乘法器,指令周期可达成 160ns,性价比最高; – 可用于高、中档产品的开发,如马达控制、音调合成
嵌入式处理器的特征 USTC General rules (with exceptions): 1.Designed for efficiency (vs.ease of programming) 2.Huge variety of processors(resulting from 1.) 3.Harvard architecture 4.Heterogeneous register sets 5.Limited instruction-level parallelism or VLIW ISA 6.Different operation modes (saturating arithmetic,fixed point) 7.Specialised microcontroller DSP instructions (bit- reversal,multiply/accumulate,bit-field addressing,modulo addressing) 8.Multiple memory banks 9.No "fat"(MMU,caches,memory protection,target buffers, complex pipeline logic,... These features have to be known to the compiler! llxx@ustc.edu.cn 9/87
嵌入式处理器的特征 • General rules (with exceptions): 1. Designed for efficiency (vs. ease of programming) 2. Huge variety of processors (resulting from 1.) 3. Harvard architecture 4. Heterogeneous register sets 5. Limited instruction-level parallelism or VLIW ISA 6. Different operation modes (saturating arithmetic, fixed point) llxx@ustc.edu.cn 9/87 7. Specialised microcontroller & DSP instructions (bitreversal, multiply/accumulate, bit-field addressing, modulo addressing) 8. Multiple memory banks 9. No “fat” (MMU, caches, memory protection, target buffers, complex pipeline logic, ...) • These features have to be known to the compiler!
处理器技术 ·“处理器”不是一定都是可编程的 一嵌入式微处理器并不等同于通用微处理器 Controller Datapath Controller Datapath Controller Datapath Control Register Control Registers Control index logic and logic and logic file total State State Custom State register register + ALU register General IR PC ALU R PC Data Data memory memory Program Data Program memory memory memory Assembly code Assembly code for: for: total=0 total =0 for i=1 to .. for i=1 to... General-purpose ("software") Application-specific Single-purpose("hardware") llxx@ustc.edu.cn 10/87
处理器技术 • “处理器”不是一定都是可编程的 – 嵌入式微处理器并不等同于通用微处理器 Registers Custom Controller Datapath Control logic and State Controller Datapath Control logic State index total Register file Controller Datapath Control logic and State llxx@ustc.edu.cn 10/87 Application-specific Custom ALU Program memory Assembly code for: total = 0 for i =1 to … State register Data memory IR PC Single-purpose (“hardware”) State register Data memory + IR PC General ALU Program memory Assembly code for: total = 0 for i =1 to … State register Data memory General-purpose (“software”)