Giter Site home page Giter Site logo

scons_xilinx's Introduction

About

This is a collection of SCons tools for automating the Xilinx build flow.

The package makes a set of Builders available, which you can use in a SConstruct or SConscript file:

Builder Source files Target files
Coregen .xco .ngc, .v
XstSynthesis .v, .vhd .ngc
NgdBuild .ngc, .ucf .ngd
Map .ngd _map.ncd
PlaceRoute _map.ncd .ncd
BitGen .ncd .bit

Example usage:

env = Environment(tools=['xilinx'])
env.XstSynthesis('out.ngc', ['source.v', 'module.v'])

To see in more detail how the tools can be used, look at the example project.

Installation

Copy the entire site_tools/xilinx tree to a location you like.

SCons will find it in one of the following locations by default:

  • ./site_scons (relative to your SConstruct/SConscript)
  • $HOME/.scons/site_scons
  • /usr/share/scons/site_scons

If you choose a different location, you can point SCons to it using the --site-dir command line option or by passing it as the toolpath argument to the Environment constructor (read more here).

The file copying is handled for you if you call:

scons install [--user|--prefix=<location>]

If the --prefix option is given, it specifies the directory into which the site_tools/xilinx tree will be copied. If it is not given and the --user flag is set,$HOME/.scons/site_scons will be used, /usr/share/scons/site_scons otherwise.

scons_xilinx's People

Contributors

mkrieger1 avatar

Watchers

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