Code Monkey home page Code Monkey logo

de10-gpu's Introduction

DE10-GPU

GPU for OENG1167 in Verilog HDL for DE10 series boards

Build Instructions

Currently, only Linux is supported for the build process, and as of present, only the DE10 Standard board is compatible (though this can be modified )

Building the Drivers

There are 2 drivers you need to build. The OpenGL static library (libgl.a) and the actual hardware driver (drvr3d.a) Luckily, there's a script that will manage the entire build for you, called build_drivers.sh located in /drv/

  1. Navigate to the /drv/ directory
  2. Run ./build_drivers.sh. This will make both the OpenGL and the hardware driver
  3. The relveant drivers will be found in their corresponding folders

Now that you've built the software, it's time to actually build the Verilog (hardware) portion of the project

  1. Open up Quartus Prime (we used 20.1)
  2. Open up the Rush3D .qpf file located in /hw/
  3. Do a full synthesis of the project to generate the .sof

Now that it's built, you can flash the GPU onto the FPGA

  1. On your DE10, do a HPS Reset (or reset the board)
  2. In your serial terminal, stop the boot process by pressing any key
  3. Open the Quartus JTAG Programmer
  4. Flash the project
  5. Do another HPS reset and let QNX boot properly

You can now run OpenGL projects on your DE10

QNX Setup

TODO: Copy Glenn's instructions here!

de10-gpu's People

Contributors

jallanpng avatar mjatkin avatar quaker762 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.