Top Banner
GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester
23

GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

GALAXY ProjectFinal project review

IHP, February 4th 2011

Tools Demonstration

Dr Lilian Janin, Dr Doug Edwards - University of Manchester

Page 2: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

2

GALAXY Project - Tools Demonstration

Previous Demo: Calculator

Page 3: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

3

GALAXY Project - Tools Demonstration

Previous Demo: Calculator

• System: 3 components: Keyboard, LCD, Mini-processor

• Multiple implementations of each component: SystemC/C++, Verilog

• Demonstration of different co-simulations• SystemC + Verilog• FPGA + SystemC

• Based on prototype IDE

Page 4: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

4

GALAXY Project - Tools Demonstration

Overview of current demo

• System: Image processor• 4 components: Webcam, Keypad, VGA

output, Image Processor• Multiple implementations of each

component: SystemC/C++, Verilog, VHDL, STG

• Demonstration of • Bringing together GALS design, commercial

and open-source tools in a hardware-software-FPGA co-simulation flow

Page 5: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

5

GALAXY Project - Tools Demonstration

Image processing demo

Page 6: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

6

GALAXY Project - Tools Demonstration

Demo Contents

Frame GrabberFrame

Grabber

KeypadKeypad

Image ProcessorImage Processor

VGA OutputVGA Output

1. Component creation from libraryAll simulated in software at TLM level

SystemCSystemC

Legend:

Page 7: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

7

GALAXY Project - Tools Demonstration

Demo Contents

Frame GrabberFrame

Grabber

KeypadKeypad

Image ProcessorImage Processor

VGA OutputVGA Output

2. Connecting a real webcamMultiple component implementations

SystemCSystemC

Legend:

Page 8: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

8

GALAXY Project - Tools Demonstration

Demo Contents

Frame GrabberFrame

Grabber

KeypadKeypad

Image ProcessorImage Processor

VGA OutputVGA Output

3. Interface refinement to pin levelSystemC TLM + transactors

SystemCSystemC

Transactor

Legend:

Page 9: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

9

GALAXY Project - Tools Demonstration

Demo Contents

Frame GrabberFrame

Grabber

KeypadKeypad

Image ProcessorImage Processor

VGA OutputVGA Output

4. Port from SystemC to Verilog/VHDLUsing open-source Opencores IPs

SystemCSystemC

Verilog/VHDL

Verilog/VHDL

RouterRouter

Transactor

Legend:

Page 10: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

10

GALAXY Project - Tools Demonstration

Demo Contents

Frame GrabberFrame

Grabber

KeypadKeypad

Image ProcessorImage Processor

VGA OutputVGA Output

5. Iterative port to FPGARouting & co-simulation Hardware-Software

SystemCSystemC

FPGAFPGA

RouterRouter

Transactor

Legend:

Page 11: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

11

GALAXY Project - Tools Demonstration

Demo Contents

Frame GrabberFrame

Grabber

KeypadKeypad

Image ProcessorImage Processor

VGA OutputVGA Output

6. Final Hardware

FPGAFPGA

Legend:

Page 12: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

12

GALAXY Project - Tools Demonstration

Stage 1: System creation & simulation

Frame GrabberFrame

Grabber

KeypadKeypad

Image ProcessorImage Processor

VGA OutputVGA Output

1. Component creation from libraryAll simulated in software at TLM level

SystemCSystemC

Legend:

Page 13: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

13

GALAXY Project - Tools Demonstration

Stage 1: System creation & simulation

The user:

• Creates 4 components

• Creates connections between components

• Sets every component to use SystemC simulator

• Starts simulation, showing:• Tool flow view• Execution window• Keypad and output image

• Input read from file

Page 14: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

14

GALAXY Project - Tools Demonstration

Stage 2: Using real webcam

Frame GrabberFrame

Grabber

KeypadKeypad

Image ProcessorImage Processor

VGA OutputVGA Output

2. Connecting a real webcamMultiple component implementations + trace viz

SystemCSystemC

Legend:

Page 15: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

15

GALAXY Project - Tools Demonstration

Stage 3: Interface refinement

Frame GrabberFrame

Grabber

KeypadKeypad

Image ProcessorImage Processor

VGA OutputVGA Output

3. Interface refinement to pin levelSystemC TLM + transactors

SystemCSystemC

Transactor

Legend:

Page 16: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

16

GALAXY Project - Tools Demonstration

Stage 4: SystemC to Verilog

Frame GrabberFrame

Grabber

KeypadKeypad

Image ProcessorImage Processor

VGA OutputVGA Output

4. Port from SystemC to Verilog/VHDLUsing open-source Opencores IPs

SystemCSystemC

Verilog/VHDL

Verilog/VHDL

RouterRouter

Transactor

Legend:

Page 17: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

17

GALAXY Project - Tools Demonstration

Stage 4: SystemC to Verilog

The user:

• Switches component implementations from SystemC to Verilog

• Creates connections• Using ports• Using buses

• Reuses Opencores IP• VGA controller

Page 18: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

18

GALAXY Project - Tools Demonstration

Tutorial Contents

Frame GrabberFrame

Grabber

KeypadKeypad

Image ProcessorImage Processor

VGA OutputVGA Output

5. Mixed FPGA prototypingRouting & co-simulation Hardware-Software

SystemCSystemC

FPGAFPGA

RouterRouter

Transactor

Legend:

Page 19: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

19

GALAXY Project - Tools Demonstration

Stage 5: Software simulators to FPGA

• Import FPGA library Clock and Reset modules

• Connect clock and reset signals of all modules

• Start the co-simulation host-fpga• Program ARM CPU• Program Virtex FPGA

• Remote execution of Xilinx tools

• Monitor output

Page 20: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

20

GALAXY Project - Tools Demonstration

Tutorial Contents

Frame GrabberFrame

Grabber

KeypadKeypad

Image ProcessorImage Processor

VGA OutputVGA Output

6. Everything in Hardware

FPGAFPGA

Legend:

Page 21: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

21

GALAXY Project - Tools Demonstration

Stage 6: Final Hardware

• Replaced ASIP-routed serial communications by wireless transceivers

• Input using UART IP from Opencores(Transceivers use serial protocol)

• Everything compiled using Xilinx flow

Page 22: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

22

GALAXY Project - Tools Demonstration

Conclusions

Demonstrated:• Interoperability framework between

existing open and commercial CAD tools• Ability to execute remotely server-based

tools

• Co-simulation of heterogeneous systems at mixed levels of abstraction

• Component-based design• Opencores IP re-use

• FPGA protoyping

Page 23: GALAXY Project Final project review IHP, February 4th 2011 Tools Demonstration Dr Lilian Janin, Dr Doug Edwards - University of Manchester.

23

GALAXY Project - Tools Demonstration