GithubHelp home page GithubHelp logo

vvvverre / red-pitaya-tutorials Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 11 KB

A repository of example projects for the Red Pitaya (Xilinx Zynq-7010) to complement a series of blog posts.

License: MIT License

Tcl 93.61% Verilog 6.39%
red-pitaya fpga xilinx zynq-7000

red-pitaya-tutorials's Introduction

Red Pitaya Tutorials

This repository is a companion to an ongoing series of posts on my blog about developing on the Xilinx Zynq-7000 SoCs, using the Red Pitaya STEMLab 125-14 as the main development platform. This repository contains the code and scripts necessary to build the examples that are shown on the blog.

Getting Started

To be to run the TCL scripts in this repository you first have to install Vivado, which can be downloaded from Xilinx' website. The SoC on the Red Pitaya is covered by the Vivado ML Standard Edition, which is available for free.

Most of the examples are structured in a similar way, with one script to create the project (mk_proj.tcl) and a second to build the project (build.tcl). I normally build the project in-tree, using subdirectory named vivado as the build directory. As an example, the following commands can be used to clone the repository and build the blink-led project. A more detailed explanation can be found in this blog post.

source /opt/Xilinx/Vivado/2021.1/settings64.sh
git clone https://github.com/vvvverre/red-pitaya-tutorials.git
cd red-pitaya-tutorials/blink-led
mkdir vivado && cd vivado
vivado -mode batch -source ../mk_proj.tcl
vivado -mode batch -source ../build.tcl

Contents

The repo contains the following example projects.

blink-led

This project is set up to make an LED blink at a rate of approximately 1 Hz, using a few built-in IP blocks provided by Xilinx. An in-depth explanation of this project can be found in this blog post, and an explanation of the command-line workflow in this blog post.

axi-gpio

This project allows the LEDs to be controlled from the ARM core, using Xilinx' AXI GPIO block.. An in-depth explanation of this project can be found in this blog post, and an explanation of the command-line workflow in this blog post.

blink-led-rtl

This project repeats the blink-led project, but in this project the Xilinx IP cores have been replaced with some bespoke RTL code. This project is explained further in this blog post.

red-pitaya-tutorials's People

Contributors

vvvverre avatar

Stargazers

 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.