Giter Club home page Giter Club logo

c5-fpga-loader's Introduction

Cyclone V FPGA Configuration from Linux

Based on: https://github.com/nhasbun/de10nano_fpga_linux_config

Software to configure the FPGA portion of the Cyclone V SoC. It works under Linux.

References:

  • Cyclone V HPS Memory Map
  • Cyclone V Hard Processor System Technical Reference Manual (Cyclone V Handbook Volume 3) section FPGA MANAGER

This is fully implemented in C using direct register access to take control of the FPGA Manager device which is used by the HPS to configure the FPGA. No external libraries are used other than Linux system calls and SoCAL libraries included on Quartus installations. Partial reconfiguration is still not studied but could be implemented in the future since it gives an important boost to create many applications.

Programming FPGA from HPS could be accomplished by using direct register access to FPGA Manager. And we can accomplish a Linux method agnostic to the current distribution or internal system configuration.

Compilation

Altera Embedded Command Shell (16.1 or newer) should be used to compile the project. Just run "make" and there you go.

Loading rbf File

RBF file should be created from Quartus Project with compression enabled and MSEL [4:0] pins with 01010 settings. Code is easily modifiable to match other MSEL configurations (keep an eye on cdgwdth and cdratio registers) but Altera recommends using always FPP x 32 configuration scheme anyways.

c5-fpga-loader's People

Contributors

vborchsh 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.