Giter VIP home page Giter VIP logo

symbiflow-examples's Introduction

SymbiFlow examples

Please refer to the project documentation for a proper guide on how to run these examples as well as instructions on how to build and compile your own HDL designs using the symbiflow toolchain.

https://github.com/symbiflow/symbiflow-examples/workflows/doc-test/badge.svg?branch=master Documentation Status

This repository provides example FPGA designs that can be built using the SymbiFlow open source toolchain. These examples target the Xilinx 7-Series and the QuickLogic EOS S3 devices.

The repository includes:

  • xc7/ and eos-s3/ - Examples for Xilinx 7-Series and EOS-S3 devices, including:
    • Verilog code
    • Pin constraints files
    • Timing constraints files
    • Makefiles for running the SymbiFlow toolchain
  • docs/ - Guide on how to get started with SymbiFlow and build provided examples
  • .github/ - Directory with CI configuration and scripts

The examples provided by this repository are automatically built by extracting necessary code snippets with tuttest.

Building those docs

To build Sphinx documentation, you need at least Python 3.6. You will also need to install Sphinx v3.3.0 and additional dependencies, which you can get with pip:

pip install -r docs/requirements.txt

Next, just run:

make -C docs html

The output will be found in the docs/_build/html directory.

Running "CI" locally

The CI uses a bunch of scripts in the .github/scripts/ directory to execute the needed tests. You can use the same scripts locally to test without having to wait for the online CIs to pass if you want to quickly test stuff.

For this, you will need tuttest, which you can install with:

pip install git+https://github.com/antmicro/tuttest
  • <fpga-family> is one of {eos-s3, xc7} (the two currently covered platforms - EOS-S3 and Xilinx series 7).
  • <os> is one of {ubuntu, debian, centos} (currently supported operating systems).

To install the toolchain (just the first time), run:

.github/scripts/install-toolchain.sh <fpga-family> <os> | bash -c "$(cat /dev/stdin)"

To build all the examples locally, just run:

.github/scripts/build-examples.sh <fpga-family>  | bash -c "$(cat /dev/stdin)"

symbiflow-examples's People

Contributors

whiteninjaz avatar kgugala avatar acomodi avatar rw1nkler avatar tmichalak avatar joannabrozek avatar mithro avatar tcal-x avatar kamilrakoczy avatar fkokosinski avatar nelsobe avatar cjearls avatar pgielda avatar ryancj14 avatar adamolech avatar mkurc-ant avatar umarcor avatar litghost avatar ajelinski avatar mglb avatar alanvgreen avatar carlosedp avatar duck2 avatar mgielda avatar pabigot avatar rodrigomelo9 avatar tristancacqueray avatar hasheddan 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.