Home > Logic Design > Using Xilinx tools in command-line mode

Using Xilinx tools in command-line mode

Many FPGA designers don’t take good advantage of the command-line options that FPGA synthesis and physical implementation tools have to offer. I’ve published an article on the subject in Xilinx Xcell journal. You can read it here. All the source code, projects, and scripts are available here.

Download the article
Download the source code, projects, and scripts

  1. May 24th, 2011 at 07:02 | #1

    Great article. I found that most designers aren’t even aware of many of these tools, particularly XFLOW, which I always found to be very useful. In this context, allow me to self promote my own project, http://www.boldport.com which aims to generate a complete command-line-based build environment for FPGA projects. I hope it’ll be useful to you and/or your readers.

  2. May 25th, 2011 at 22:53 | #2


    I’m glad this article is useful.


  3. don jk
    July 27th, 2011 at 01:25 | #3

    can i get all codes in vhdl

  4. July 27th, 2011 at 07:14 | #4

    No, VHDL code is not available, only Verilog.


  5. hashim
    December 24th, 2011 at 23:26 | #5

    my project is on generating 3 phase sinusoidal pwm by spartan 3 fpga for induction motor drive.
    can u suggest me ways to implement pwm through fpga. I myself have worked on the simulink and im thinking of implementing my simulink project on fpga.
    over all i realy like ur book and articles. they are very resourceful for beginners.

  6. December 25th, 2011 at 09:07 | #6

    There are several ways to implement PWM in FPGA, depending on your project requirements and amount of available logic/ram resources in FPGA itself. Just search Xilinx and Altera forums. OpenCores.org may also already have something.


  7. fabrizio
    April 22nd, 2012 at 05:19 | #7

    @saar drimer

    Hi there, this link does not work. Can you fix it?


  8. Øyvin Eikeland
    September 18th, 2012 at 05:23 | #8

    I have read your article and I there is one statement in there that I would like some clarification on:
    “Xtclsh is the only flow that accepts .xise input”
    It seems that you still need to enter the GUI and press Project->Generate TCL Script. There is no way just pass the .xise file to some command line tool and have the job done without the GUI, right?

    best regards,
    Øyvin Eikeland

  9. September 18th, 2012 at 07:50 | #9

    Hi Øyvin,

    That’s right. Somebody needs to generate .xise.
    I often take an existing .xise from a similar project, and manually tweak it for the new one. But that’s impractical to do if a lot of changes is required.


  10. ars
    May 2nd, 2013 at 09:41 | #10

    I want to make a random code generator using FPGA on Xilinx can i get code for that

    February 21st, 2014 at 02:29 | #11

    plz provide me verilog code for viterbi decoder of k=7 and r=1/2 if it available

  12. somaahekhar
    January 19th, 2016 at 07:13 | #12

    hi sir I need projects in vhdl for m.tech any one of u have idea plz informed me

  1. October 3rd, 2012 at 06:54 | #1