Giter VIP home page Giter VIP logo

sockit_test's Introduction

Experimenting with the Arrow SoCKit

I recently acquired one of the new Arrow SoCKits, which are development boards for Altera's Cyclone V ARM processor / FPGA SoCs. This repository holds some code and hardware descriptions testing various features of the board.

Compilation Instructions

Open the project file "sockit_test.qpf" in Quartus II. Then open the "soc_system.qsys" file in Qsys. Generate the Qsys system and then compile the project in Quartus. You can then program the "sockit_test.sof" file to the Cyclone V FPGA.

FPGA Interface

With the .sof file programmed, the lights will begin to sweep back and forth. You can control the speed using the FPGA keys. KEY0 will reduce the speed, KEY1 will increase the speed, KEY2 will pause/resume, and KEY3 will reset.

Software Instructions

Make sure you have the Linaro "arm-linux-gnueabihf" toolchain installed and run "make" inside the "software/blinker_us" directory. Copy the "blinker" binary over to the Linux partition on your SD card. Boot from the SD card, program the .sof file to the FPGA, and then enable the lightweight HPS-to-FPGA bridge

echo 1 > /sys/class/fpga-bridge/lwhps2fpga/enable

Now you can set the speed of the blinking by running

./blinker delay

The delays range from 1 to 15, inclusive, with 1 corresponding to the fastest speed and 15 to the slowest.

sockit_test's People

Contributors

zhemao avatar

Watchers

James Cloos 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.