Code Monkey home page Code Monkey logo

oh-my-xilinx's Introduction

These are shell scripts for invoking the Xilinx Vivado toolchain on smallish RTL projects to quickly estimate resource utilization and timing of designs. The hardware (fpga_part) is assumed to be the PYNQ board, but can be specified as a command line argument. (repo named after the cool .oh-my-zsh project)


How it works

The script adds all Verilog or VHDL files in given folder to a Vivado project and runs the Synthesis and Implementation phases. It then exports the area/timing/power reports for investigation by the user.


How to install

First, install zsh on your system. For most distros this is available in the package manager, so for Ubuntu/Debian you could do:

sudo apt install zsh

Now clone the git repository, then export an environment variable that specifies this location as OHMYXILINX:

git clone [email protected]:maltanar/oh-my-xilinx.git /path/to/local/dir export OHMYXILINX=/path/to/local/dir

Probably want to modify PATH variable in vivadocompile.sh appropriately for your setup.


How to run

Set your PATH variable to include $OHMYXILINX. Also make sure the Xilinx paths are properly setup as well, i.e. vivado should be on PATH.

export PATH=$PATH:$OHMYXILINX

To compile code sitting inside a folder just run:

vivadocompile.sh <top-level-entity> <clock-name (optional)> <fpga-part (optional)>

To collect results in a nice summary run:

vivadoresults.sh <top-level-entity>


Testing Notes

Tested to work on Ubuntu 14.04 64b and Vivado 2015.4 toolchain. Older Xilinx releases are also supported using other scripts in the folder "xilinxcompile.sh", etc.


Author Notes

Original: Nachiket Kapre ([email protected]) Modifications: Yaman Umuroglu ([email protected])

oh-my-xilinx's People

Contributors

auphelia avatar ddanag avatar fpjentzsch avatar jalezeta avatar maltanar avatar nachiket avatar umav1511 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.