choosing the right processor

43
Choosing the Right Processor for your Application www.pantechsolutions.net

Upload: pantech-prolabs-india-pvt-ltd

Post on 08-Apr-2017

3.893 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Choosing the right processor

Choosing the Right Processor for your Application

www.pantechsolutions.net

Page 2: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

AgendaChoosing the right processor for your applicationHardware design flowSoftware design flowVarious design phasesRecap of product life cycle

Page 3: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Choosing the right Processor

Page 4: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Microprocessor, by-itself, completely useless – must have external peripherals toInteract with outside world

CPU

CONTROL

ADDRESS

DATA

BOOTROM

Used at startup

Instruction(program)

ROMTransducers

KeyboardScreenUARTParallelinterface

etc

DataRAM

Microprocessor Basic

Page 5: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

CPU

Micro controller

Page 6: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

CPU121416

Memory(Data) 8

Memory (Program)

CPUMemory

(Program&Data)

Von Neumann Harvard

Von Neumann VS Harvard

Page 7: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Why do we need DSP Processor?

Page 8: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

CPLD Vs FPGA

Page 9: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

CPLDs have the advantage of virtually “instant-on” functionality

CPLDs can be lower cost than FPGAs, especially if a configuration source is required for the FPGA*

CPLDs typically use the same manufacturer tool suite as FPGA components*

CPLDs tend to have simpler architectures / structures and fewer I/O and registers than FPGAs*

In some applications CPLDs can have superior performance to FPGAs* (ex: timing and I/O levels)

CPLD Vs FPGA

Page 10: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Logic blocks I/O blocksClock routingRouting matrix

CPLD Architecture

Page 11: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

I/O blocksClock routingRouting matrixMemoryMultipliers /DSP blocksProcessor core

Logic blocks

FPGA Architecture

Page 12: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

FPGA Technologies

Page 13: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

No need for logic optimization using Karnaugh map.

Design is portable from one vendor application to the another.

Technology Independent.

Design cycle time reduces dramatically.

Provides concise representation of the design in contrast to logic diagrams

Why HDL?

Page 14: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

VHDLAda-like –Highly structuredNo case sensitivityEncapsulation –Architecture –Entity

Verilog Vs VHDL

Page 15: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

DSP Vs FPGA

Page 16: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Higher PerformanceParallel algorithm implementation

Customizable DesignOptimize for speed and cost

System IntegrationLess board real estateLess chips could mean less system cost

When to use DSP in FPGA

Page 17: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Power SupplyCLKCLK

CLKcustomIF-logic

SDRAM SDRAMSRAM SRAMSRAM

Memory Controller

UART LC

DisplayController

InterruptController Timer

AudioCodec

CPU(uP / DSP) Co-

Proc.

GP I/O

AddressDecode

Unit

EthernetMAC

Traditional embedded system design using DSP

Page 18: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Next Step...Next Step...

FPGACLKCLK

CLKcustomIF-logic

SDRAM SDRAMSRAM SRAMSRAM

Memory Controller

UART

DisplayController

Timer

Power Supply

LC

AudioCodec

CPU(uP / DSP) Co-

Proc.

GP I/O

AddressDecode

Unit

EthernetMAC

InterruptController

Page 19: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Power Supply

SDRAM SDRAMSRAM SRAMSRAM

LC

AudioCodec EPROM

Configurable system on Chip-CSoC

Page 20: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

2 or More Independent Processors in 1 Package

Symmetric Multiprocessing Number of Identical Processors Common Shared Memory One Operating System

Asymmetric Multiprocessing Different Processors, Instruction Sets Different Operating Systems Possibly Without Shared Memory

Multicore Processor

Page 21: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

•Identical Cores•Identical access to all System Resources•Memory, Disk, UARTs, Communication Controllers,•Examples: Analog Devices Blackfin 561

SMP-BF561

Page 22: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Processors Need Not be IdenticalProcessor Specialization May Increase Performance.T.I.’s OMAP•General Purpose Processor+Digital Signal Processor(“DSP”)

AMP-TI OMAP

Page 23: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

AgendaProcessor selection CriteriaChoosing the right processor for your applicationHardware design flowSoftware design flowVarious design phasesRecap of product life cycle

Page 24: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

QFP

SOLDERINGIRON

SOLDERING

STATION

OVEN

Selection of packages

DIP SOIC

BGAPLCC

Page 25: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Hardware Design Flow

SCHEMATIC DESIGN LAYOUT DESIGN

ASSEMBLY & TESTING

Page 26: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

AgendaChoosing the right processor for your applicationHardware design flowSoftware design flowVarious design phasesRecap of product life cycle

Page 27: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Software Design Flow

Page 28: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

GenerateNetlist

ISE

Platform Ext.Proj.Nav. / VHDL

*.mhs

*.elf

*.c *.asm

Compile &Link

UpdateBitstream

*.bit

*.h

Gen.Libs

Platform Definition(peripherals, configuration, connectivity, address space)

EDK: Embedded Development Kit XPS: Xilinx Platform Studio ISE: Integrated Software Environment MHS: Microprocessor Hardware Specification

*.bit

XPS

GenerateBitstream

*.ucf

Hardware Software

*.bmm

Software Design Flow -FPGA

Page 29: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Data2MEM

Download Combined Image to FPGA

Compiled ELF Compiled BIT

RTOS, Board Support Package

EmbeddedDevelopment Kit

Integrated HW/SW/FPGA Flows

Instantiate the ‘System Netlist’ and Implement

the FPGA

?

HDL Entry

Simulation/Synthesis

Implementation

Download BitstreamInto FPGA

Chipscope

Standard FPGAHW Development Flow

VHDL or Verilog

System NetlistInclude the BSPand Compile theSoftware Image

?

Code Entry

C/C++ Cross Compiler

Linker

Load SoftwareInto FLASH

Debugger

Standard EmbeddedSW Development Flow

C Code

Board SupportPackage

12 3 Compiled BITCompiled ELF

Xilinx Platform Studio SDK

Xilinx Platform Studio

Page 30: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

FPGA Design Flow

Page 31: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Design Compilation Simulation Verification

Graphical Entry

HDL Entry

Compiler

Timing Diagram

Timing Analysis

Program CPLD

Development Board

FPGA Design Flow

Page 32: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Unified Tool Releases, All Tools Available for Evaluations

Verilog VHDL C/C++ MATLAB Simulink 3rd Party

Unified Design Environment The Ultimate System Integration Design Tools

New !New !

HW D

esign

ers

SW D

evelo

pers

Archite

cts

Verific

ation

Team Syst

em

Integ

rator

s. . . .

Page 33: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Programmable

technologyGate countNumber of

I/O’S

Manufacturer

Family

Device

Power Consumption

Speed,voltage

Packaging

Design Decision in Choosing an FPGA

Page 34: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Processor selection Criteria

Development tools Performance Cost Operating systems Hardware tools Peripherals Power consumption Supplier reputation

Page 35: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

SW DEVELOPMENT

HW DEVELOPMENT

SW SELECTION

HW SELECTION

INTEGRATION TESTING & TUNING DEPLOYMENT

Compiler RTOSs

Networking Protocols Java

SupportGraphics Support Project

& Code Mgmt.

RTOS

Simulation

Rapid Prototyping

Real-time Data

Visualization

Memory Leak

Detection CPUProfiling

Post-mortem Debug

Semiconductor Co-funded

Development Hardware Coverage

Board Bring-Up

Board Diagnostics & Manufacturing

Test

Source-level

Debugging

Real-time System

Analysis & Triggering

Execution Tracing Code

Coverage Analysis

In-field Debugging

© 2008 Pantech Solutions™ | All rights reserved

Embedded Development using FPGA

Page 36: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

AgendaChoosing the right processor for your applicationHardware design flowSoftware design flowVarious design phasesRecap of product life cycle

Page 37: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Simulation Evaluation

Emulation

Page 38: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

AgendaChoosing the right processor for your applicationHardware design flowSoftware design flowVarious design phasesRecap of product life cycle

Page 39: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Recap of Designing an Embedded System

Page 40: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

http://nptel.iitm.ac.in/videocourselist.phphttp://youtube.com/iit

Website and Resources

Page 41: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

http://www.esacademy.com/8051

(Philips Flash ISP software)

http://www.keil.com/demo/ Evaluation version for 8051 and ARM

http://www.microchip.comPIC

FPGAhttp://www.xilinx.com/support/download/index.htm

https://www.altera.com/support/software/download/sof-download_center.html

http://www.analog.com/en/embedded-processing-dsp/content/blackfin_bold_training/fca.html

DSP

www.ti.com/

Page 42: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.

Questions ?

Page 43: Choosing the right processor

Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt Ltd.