20
Design & Co-design of Embedded Systems Embedded System Design: Traditional vs. Modern Style  Maziar Goudarzi

B2-Embedded System Design

Embed Size (px)

Citation preview

Page 1: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 1/20

Design & Co-design of 

Embedded Systems

Embedded System Design:

Traditional vs. Modern Style

 Maziar Goudarzi

Page 2: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 2/20

2005 Design & Co-design of EmbeddedSystems 2

Today Program

Embedded System Design Process

Traditional approach

 Analysis & discussionModern approaches

Course final project

Page 3: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 3/20

2005 Design & Co-design of EmbeddedSystems 3

Traditional Approach

CPU 

mem

input

output analog 

analog 

embedded

computer

Logic 

Page 4: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 4/20

2005 Design & Co-design of EmbeddedSystems 4

Design Example

Robot Control Unit(RCU) of Arvandsoccer-playing robots

Bottom View of

Arvand Robots

castor wheel

motion wheels

Touch

sensors

Infra-Red

Sensors

steeringmotors

(notshown)

Page 5: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 5/20

2005Design & Co-design of Embedded

Systems 5

Design Example (cont’d) 

Things to handle

Motors

PWM for motion motors

DC control for steering

Touch sensors

Read-in and refresh values

Infra-Red sensors

Reset, then read them

Communication to the main motherboard

RS-232 serial link 

castor wheel

motion wheels

Page 6: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 6/20

2005Design & Co-design of Embedded

Systems 6

Design Example (cont’d) 

Implementation steps1. Choose HW or SW implementation per operation2. Design the analog IO parts3. Design the Printed Circuit Board (PCB)

1. Pass the PCB files to manufacturing firms4. HW: Develop the FPGA contents

1. Program the FPGA configuration EEPROM

5. SW: Develop the 8051 program1. Program the 8051 instruction memory (EEPROM)

6. Integrate HW, SW, and the PCB7. Test1. Limited test in isolation (as far as possible)2. Test in action (on the robot)

Page 7: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 7/20

2005Design & Co-design of Embedded

Systems 7

Design Example (cont’d) 

Fabrication  Test 

Systemdesign PCB test 

SW test 

Time

TasksTraditional System Design Process

Simulation

PCB design 

SW design

FPGA design 

Page 8: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 8/20

2005Design & Co-design of Embedded

Systems 8

Analysis

Development Isolated (SW, HW, Analog electronics)

Consistency check: designers

Debug Before PCB is available Isolated (SW, HW, Analog)

 After PCB is available1. Remove the EEPROM/8051

2. Change the configuration/program3. Re-insert the EEPROM/8051

What if PCB initial design (or analog parts) was wrong?

Page 9: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 9/20

2005Design & Co-design of Embedded

Systems 9

Analysis (cont’d) 

Some other problems

Tools used

Protel, OrCAD for PCB Altera MAX+Plus II for FPGA 

8051 command-line compiler and debugger

Tool interoperability issues

Page 10: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 10/20

2005Design & Co-design of Embedded

Systems 10

Solution

Try to do as much of the tests as early aspossible in the design cycle

Step 1: Combine HW and SW simulationStep 2: Add analog parts as well

 Analog Mixed-Signal (AMS) simulation

Step 3: Entire design of the PCB?

Page 11: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 11/20

2005Design & Co-design of Embedded

Systems 11

Modern Design Style (HW+SW)

Shared Design

Co-Design Process

HW design 

PCB test 

SW test 

Time

Tasks

Systemdesign

System-Level Partitioning

SW design

Page 12: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 12/20

2005Design & Co-design of Embedded

Systems 12

Modern Design Style

 Various approaches

 Application-Specific Instruction Processor

(ASIP)Platform-based design

Communication-based design

Component-based (core-based) design

etc.

Page 13: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 13/20

2005Design & Co-design of Embedded

Systems 13

The approach to be evaluated

here

Synthesize HW 

Design interface 

Time

Tasks

SystemDesign

Compile SW

Data typerefinement

C++ SystemC

Parallelize

Xilinx tools

Integrate& Test

Page 14: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 14/20

2005Design & Co-design of Embedded

Systems 14

Ideas for course project

 Alternative 1: App. case study1. Select an embedded application

2. Design an executable specification for it

3. Step by step manually refine it to HW-SW implementation4. Report performance, area, power & compare with full-SW& write a paper (optional)

Suggestions Data compressor/decompressor

 Voice codec  A game

JPEG, JPEG2000

Page 15: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 15/20

2005Design & Co-design of Embedded

Systems 15

Ideas for course project

(cont’d) 

 Alternative 2: Methodology case study1. Select a system design language and methodology

2. Implement an application using them

3. Give a presentation

Suggestions:

Handle-C & Celoxica “DK Design Suite”   SpecC & the associated tools from UCI

Tensilica’s processor generator (XTensa processor) 

Page 16: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 16/20

2005Design & Co-design of Embedded

Systems 16

Ideas for course project

(cont’d) 

 Alternative 3: Case study in ODYSSEY 

1. Select an application

2. Develop an OO C++ program for that3. Implement it as HW-SW system using

ODYSSEY tools and flows

Suggestions

The same applications as in alternative 1

Page 17: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 17/20

2005Design & Co-design of Embedded

Systems 17

Ideas for course project

(cont’d) 

 Alternative 4: Implement algorithms

1. Select one of the co-synthesis algorithms

(to be taught during the course)2. Develop a program that implements the

algorithm for ODYSSEY 

Page 18: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 18/20

2005Design & Co-design of Embedded

Systems 18

Summary

Problems inherent in traditional style of designing embedded systems

The general solution A modern approach followed in this

course and to be used in its final project

Page 19: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 19/20

2005Design & Co-design of Embedded

Systems 19

Other Notes

Reading assignments on the course web-page  Announce by the end of next week (1 page)

1.  Your team members (at most 3 persons)2.  Your selection for course project

3. Rough schedule Other deadlines for the project

1. Report 1: Sun. Aban 15th

2-3 pages:• List of your collected material• Summary of what you’ve done + demo of the C++ app. •  Your plan for next phases and role of each person 

2. Report 2 + Oral presentation: Sun. Azar 13th 4-5 pages:

• 15 min. oral presentation• Summary of what you’ve done + experimental results (as far as available) • What’s remained? Plan to finish it. 

Page 20: B2-Embedded System Design

7/31/2019 B2-Embedded System Design

http://slidepdf.com/reader/full/b2-embedded-system-design 20/20

2005Design & Co-design of Embedded

Systems 20

Tool Presentation

Short presentation of the tools to be used in thecourse project (now, in the lab.)

Xilinx EDK: Naser MohammadZadeh

Synopsys SystemC Compiler: Morteza NajafVand