CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System:...

19
CSEE 4840 Spring 2012 Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon {asw2156,lc2817}@columbia.edu

Transcript of CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System:...

Page 1: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

CSEE 4840Spring 2012

Embedded System: Project Presentation:The Awesome Guitar Game

Avijit Singh WasuLaurent Charignon

{asw2156,lc2817}@columbia.edu

Page 2: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Overview

I We created a clone of ”Guitar Hero” on a FPGA

I We use with a Playstation II controller that we havecustomized

I We display the falling beats of the song on a VGA display

I We play the music at the same time

Page 3: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Today’s presentation

1. The overall architecture

2. A two-month adventure!

3. Lessons learned

Page 4: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Architecture

Figure: Architecture of the project

Page 5: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Playing the music

Figure: Play the music

Page 6: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Getting the input from the guitar

Figure: Getting input from the guitar

Page 7: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Display the falling beats at the right time!

Figure: Make the beats fall

Page 8: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Software part

Everything is managed by the NIOS processor, everything goesthrough it. Our software part is made of:

I A set of callbacks for interruptions

I An initialization phase which triggers the interruptions andinitialize values

I An infinite loop that executes various operations

Page 9: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

A two-month adventure

We have well divided the project from the start, thus allowing us to→ Be on several fronts at the same time: parallelize the work wascrucial→ Reuse some components, repeat some patterns

Page 10: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Timeline month 1

Figure: Milestone 1 and 2

Page 11: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Building the guitar 1/3

Figure: Make the beats fall

Page 12: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Building the guitar 2/3

Figure: Make the beats fall

Page 13: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Building the guitar 3/3

Figure: Make the beats fall

Page 14: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Timeline month 1

Figure: Milestone 1 and 2

Page 15: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Timeline month 2

Figure: Milestone 3 and final

Page 16: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

The sprites being displayed

Figure: We display the score on the board and an easilly readable scoreon the screen

Page 17: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Timeline month 2

Figure: Milestone 3 and final

Page 18: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Lessons learnt

→ How to work really a lot→ Overcome technical and practical challenges: we have greatlyimproved our problem solving skills→ Dont’t hesitate to try things and refactor or rebuild a lot tohave more maintainable and efficient code→ How to work in a team and make code that integrates well in abig architecture→ And so many other things...

Page 19: CSEE 4840 Spring 2012 Embedded System: Project ...sedwards/...presentation.pdf · Embedded System: Project Presentation: The Awesome Guitar Game Avijit Singh Wasu Laurent Charignon

Thank you for your attention