ELC4438: Embedded System Design Embedded Processor

Similar documents
Introduction to Microcontrollers

Computer Architecture Dr. Charles Kim Howard University

Fig 1. Block diagram of a microcomputer

Microprocessor Architecture Dr. Charles Kim Howard University

MICROCONTROLLERS 8051

Universität Dortmund. ARM Architecture

COMP3221: Microprocessors and. and Embedded Systems. Instruction Set Architecture (ISA) What makes an ISA? #1: Memory Models. What makes an ISA?

Typical Processor Execution Cycle

AVR Microcontrollers Architecture

ELCT 912: Advanced Embedded Systems

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

COMPUTER STRUCTURE AND ORGANIZATION

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham

VIII. DSP Processors. Digital Signal Processing 8 December 24, 2009

COMP2121: Microprocessors and Interfacing. Instruction Set Architecture (ISA)

Microprocessors and Microcontrollers. Assignment 1:

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

RISC Processors and Parallel Processing. Section and 3.3.6

Introduction to general architectures of 8 and 16 bit micro-processor and micro-controllers

3.1 Description of Microprocessor. 3.2 History of Microprocessor

Choosing a Micro for an Embedded System Application

Chapter 2 Logic Gates and Introduction to Computer Architecture

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Chapter 1. Microcontroller Overview

Lecture 1. Course Overview and The 8051 Architecture

Computer Architecture Dr. Charles Kim Howard University

Von Neumann architecture. The first computers used a single fixed program (like a numeric calculator).

RISC & Superscalar. COMP 212 Computer Organization & Architecture. COMP 212 Fall Lecture 12. Instruction Pipeline no hazard.

Microcontrollers. Microcontroller

EMBEDDED SYSTEM BASICS AND APPLICATION

Instruction Set And Architectural Features Of A Modern Risc Processor

EE 4980 Modern Electronic Systems. Processor Advanced

Microprocessors And Microcontroller

Sunday, April 25, 2010

2011 Pearson Higher Education, Mazidi, Naimi, and Naimi Pearson Higher Education, 2011 Pearson Higher Education,

Computer and Hardware Architecture I. Benny Thörnberg Associate Professor in Electronics

Module 2: Introduction to AVR ATmega 32 Architecture

1 Introduction to Microcontrollers

Segment 1A. Introduction to Microcomputer and Microprocessor

Embedded Systems Design (630414) Lecture 1 Introduction to Embedded Systems Prof. Kasim M. Al-Aubidy Computer Eng. Dept.

ELC4438: Embedded System Design ARM Cortex-M Architecture II

Architectures & instruction sets R_B_T_C_. von Neumann architecture. Computer architecture taxonomy. Assembly language.

ECE 471 Embedded Systems Lecture 2

Processing Unit CS206T

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

Chapter 5. Introduction ARM Cortex series

ECE 471 Embedded Systems Lecture 2

CISC Attributes. E.g. Pentium is considered a modern CISC processor

CISC / RISC. Complex / Reduced Instruction Set Computers

Computer Organization

Chapter 06: Instruction Pipelining and Parallel Processing. Lesson 14: Example of the Pipelined CISC and RISC Processors

EE 354 Fall 2015 Lecture 1 Architecture and Introduction

CPU Structure and Function

Automation Engineers AB Pvt Ltd, NOIDA Job-Oriented Course on Embedded Microcontrollers & Related Software Stack

Lecture 4: RISC Computers

Nios Soft Core Embedded Processor

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

SAE5C Computer Organization and Architecture. Unit : I - V

Micro computer Organization

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

Embedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester

More advanced CPUs. August 4, Howard Huang 1

Lecture (01) Introducing Embedded Systems and the Microcontrollers By: Dr. Ahmed ElShafee

Midrange 8b PIC Microcontrollers. ECE Senior Design 14 February 2017

STM32 MICROCONTROLLER

Microprocessors, Lecture 1: Introduction to Microprocessors

omputer Design Concept adao Nakamura

General Purpose Signal Processors

1 Microprocessors 2 Microcontrollers 3 Actuation sensing, process control

A superscalar machine is one in which multiple instruction streams allow completion of more than one instruction per cycle.

Introduction to Embedded Systems

Introduction to Microprocessor

EE 308: Microcontrollers

Evolution of ISAs. Instruction set architectures have changed over computer generations with changes in the

EE 3170 Microcontroller Applications

Microprocessors. Microprocessors and rpeanut. Memory. Eric McCreath

Reduced Instruction Set Computer

Microprocessors and rpeanut. Eric McCreath

Chapter 1 : Introduction

Computer Hardware Requirements for Real-Time Applications

Basic Computer Architecture

BASIC INTERFACING CONCEPTS

The Institution of Engineers - Sri Lanka

CN310 Microprocessor Systems Design

x86 Architectures; Assembly Language Basics of Assembly language for the x86 and x86_64 architectures

Advanced Microcontrollers Grzegorz Budzyń Lecture. 1: Introduction

New Advances in Micro-Processors and computer architectures

Computer Architecture

30 August CS101L PROGRAMMING LAB 2

CS Computer Architecture

04 - DSP Architecture and Microarchitecture

Basic Components of Digital Computer

University of Dayton. Electrical & Computer Engineering. ECE 536 Microprocessor Applications. Dr. Ralph Barrera. Assignment (4)

Design and Implementation of a FPGA-based Pipelined Microcontroller

MA Unit 4. Question Option A Option B Option C Option D

8051 MICROCONTROLLERS

ELE 3230 Microprocessors and Computer Systems

In this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.

PIC Microcontroller and

CS-424/580A Microcontrollers and Robotics

Transcription:

ELC4438: Embedded System Design Embedded Processor Liang Dong Electrical and Computer Engineering Baylor University

1. Processor Architecture General PC Von Neumann Architecture a.k.a. Princeton Architecture Embedded Processor Harvard Architecture Harvard Physicist A. Howard 1930

Von Neumann Architecture Program memory and data memory are one Program address and data address point to different physical positions of the same memory The width (wordlength) of program instruction are the same as the width of data A unified bus

Von Neumann Architecture

Von Neumann Architecture Main contribution of Von Neumann Introduced the concept of stored instructions program Instruction and data are similar binary codes naturally, instruction and data share the same bus Pros: Unified addressing, reduced I/O interface Cons: The flow of information becomes the bottleneck

Harvard Architecture Program and data are in different memories Independent addressing for each memory Processing unit has both program/instruction bus and data bus Efficient instruction fetching and execution Pipelining is implementable simultaneous execution and pre-read the next instruction

Harvard Architecture

Harvard Architecture Intel 8051 microcontroller series Motorola MC68 Zilog Z8 ATMEL AVR ARM ARM9, ARM10, ARM11, Cortex-M3, Cortex-M4, etc.

Harvard Architecture No conflict between instruction fetching and data reading Advanced Harvard Arch.: data in program memory for algorithmic instruction Instruction in high-speed buffer instead of memory

2. CISC and RISC The complexity of the instruction set is an important parameter of CPU Complex instruction set computing (CISC) vs. Reduced instruction set computing (RISC) CISC: ease programming, increase addressing efficiency of memory RISC: increase processing speed Key technology: pipelining

Pipelining Fetch Instruction (FI) Decode Instruction (DI) Calculate Operands (CO) Fetch Operands (FO) Execute Instruction (EI) Write Operand (WO)

CISC and RISC CISC: Intel 80x86, Motorola 68K series, etc. RISC: non-x86 microprocessor, ARM (today s most advanced 32-bit RISC)

CISC Pros: Rich instructions easy programming Instruction length is not specified save memory space Direct operation of registers reduce the number of registers Cons: Multiple addressing methods and instruction formats, variant-length instructions increase hardware complexity and design cost Complex instructions and long cycles difficult to compile into high-efficiency machine language Some instructions have low frequency of usage lower performance-price ratio

RICS In general, a few tens of instructions Reduce hardware complexity and increase software flexibility and intelligence Features Reduced instruction set (simple action, one clock cycle); complex procedure uses subroutine/function instead of (complex) instruction Instruction lengths are the same Most instructions execute in one clock cycle

RISC Pros: Simple controller hardware for decoding and execution reduce footprint area, VLSI High processing speed Directly support high-level language, simplify compiling program Reduce design cycle comp. w. CISC

RISC Cons: Increase the burden of assembly programmer; Increase the size of machine-language program more memory High requirement on the complier Rely on the efficiency of the compiler

RICS Summary Instruction: 90% directly accomplished by hardware, 10% software combination Addressing: simple and short cycle Instruction cycle: pipelining one instruction per clock cycle High usage of registers: instructions execute data among registers increase processing speed

3. x86 and ARM Instruction Sets Intel developed x86 instruction sets for its 16- bit CPU i8086 x86 Instruction Set Features 8 general-purpose registers most of the time, CPU accesses data in memory not in register Decode Unit. Decode various-length instruction into fixed-length instructions. Hardware decoding and micro decoding Addressing range is limited

Microinstruction Control:

ARM Instruction Set RICS. Simplified hardware and increased processing speed. Complex action compiled by a few simple instructions Features Low volume, low energy, low cost Support Thumb (16-bit) and ARM (32-bit) dual instruction sets Use many registers increase processing speed Simplified addressing Fixed instruction length, pipelining

ARM Instruction Sets PC uses x86 instruction sets for compatibility Large servers no longer use CISC The most popular embedded processor today: ARM processor Pentium processor adopts some RISC structures in its internal implementation

4. Classification of Embedded Processors 1. Micro Controller Unit (MCU) 2. Micro Processor Unit (MPU) 3. Digital Signal Processor (DSP) 4. System on Chip (SoC)

Micro Controller Unit (MCU) Single-chip machine Chip has peripherals such as bus, bus logic, flash, RAM, timer, counter Only needs clock, power circuitry to form an embedded system Low volume, low power, reliable, low cost Most shares in the embedded system market

Micro Controller Unit (MCU) MC51 Atmel 8-bit AVR Microchip 8-bit PIC TI MSP430, CC2430 (Zigbee)

Micro Processor Unit (MPU) Evolved from general-purpose CPU (>= 32bit) High performance Only keeps relevant functional components of CPU Typical example: ARM (Advanced RISC Machine) processor MIPS (1984 Stanford spin-off company) PowerPC (IBM, Motorola, Apple)

Atmel SAM4L (32-bit ARM Cortex-M4 RISC Processor)

ARM Cortex-M4

Digital Signal Processor (DSP) Specifically designed for signal processing Appropriate for implementing DSP algorithms, e.g. digital filtering, FFT 1978 First single-chip DSP. Ten times faster than MCU. Voice synthesis, coding and decoding

Digital Signal Processor (DSP) Parallel processing of multiple operations Support pipelining Fast interrupt service One multiplexing one addition in one clock cycle Separation of program and data Fast on-chip RAM Hardware support for low/no-overhead repeat and jump Multiple hardware address generator (in a single clock cycle)

System on Chip (SoC) Seamless integration of software and hardware Embed operating system code module in chip Use hardware description language (HDL) to implement a complex system on chip Low volume, low energy, high reliability