FPGA tools

From Robin

(Difference between revisions)
Jump to: navigation, search
(First time initialization 3430-2015)
Line 1: Line 1:
-
== FPGA tools on Windows ==
+
= FPGA tools on Windows =
Vivado 2015.2 is situated on //bifrost/project0/robin/CADlib/2015/vivado
Vivado 2015.2 is situated on //bifrost/project0/robin/CADlib/2015/vivado
it can be accessed from any Windows machine, but it does need to have
it can be accessed from any Windows machine, but it does need to have
Line 7: Line 7:
Please notify the engineer in ROBIN if there are issues.
Please notify the engineer in ROBIN if there are issues.
-
== FPGA tools on Linux ==
+
= FPGA tools on Linux =
-
3430-installation 2015
+
'''3430-installation 2015'''
  vivado
  vivado
  questa
  questa
-
older installations
+
'''older installations'''
  0in
  0in
  Catapult_C
  Catapult_C
Line 22: Line 22:
-
=== Starting xterm with all tools available ===
+
== Starting a terminal window with tools available ==
-
===First time initialization 3430-2015 ===
+
'''First time initialization 3430-2015'''
  >cd ~
  >cd ~
  >/ifi/bifrost/project0/robin/CADlib/2015/3430-tools/copy-here  
  >/ifi/bifrost/project0/robin/CADlib/2015/3430-tools/copy-here  
Line 30: Line 30:
Note: This will create the folder "3430-tools" from your current folder and copy files to it. You may alter these files for your own purposes later.
Note: This will create the folder "3430-tools" from your current folder and copy files to it. You may alter these files for your own purposes later.
-
=== Launch ===
+
'''Launch'''
  >cd 3430-tools
  >cd 3430-tools
  > ./run  
  > ./run  
-
This will open a new terminal having the required environment set.  
+
This will open a new terminal having the required environment set. vsim and vivado may be run from the new terminal if started properly. 
-
===First time initialization FPGAtools (old)===
+
Note that it is required to do the ./run from the correct folder.
 +
 
 +
 
 +
'''First time initialization FPGAtools (old)'''
  >cd ~
  >cd ~
  >mkdir fpgatools
  >mkdir fpgatools
Line 44: Line 47:
Since spring 2012, we have moved the license file to tollheimtu from pordoi. The .bash_fpgatools will need to be upgraded either manually or by doing the initialization over again.
Since spring 2012, we have moved the license file to tollheimtu from pordoi. The .bash_fpgatools will need to be upgraded either manually or by doing the initialization over again.
-
=== Launch ===
+
'''Launch'''
  >cd ~/fpgatools
  >cd ~/fpgatools
  >run
  >run

Revision as of 12:05, 27 August 2015

Contents

FPGA tools on Windows

Vivado 2015.2 is situated on //bifrost/project0/robin/CADlib/2015/vivado it can be accessed from any Windows machine, but it does need to have the LM_LICENSE_FILE environment variable set to 5370@lisens.ifi.uio.no

Vivado, ISE and questa is currently situated on ifiserv-854.ifi.uio.no, and LISP (2428) Please notify the engineer in ROBIN if there are issues.

FPGA tools on Linux

3430-installation 2015

vivado
questa


older installations

0in
Catapult_C
FormalPro
Modelsim
Xilinx


Starting a terminal window with tools available

First time initialization 3430-2015

>cd ~
>/ifi/bifrost/project0/robin/CADlib/2015/3430-tools/copy-here 

Note: This will create the folder "3430-tools" from your current folder and copy files to it. You may alter these files for your own purposes later.

Launch

>cd 3430-tools
> ./run 

This will open a new terminal having the required environment set. vsim and vivado may be run from the new terminal if started properly.

Note that it is required to do the ./run from the correct folder.


First time initialization FPGAtools (old)

>cd ~
>mkdir fpgatools
>cd fpgatools/
>/hom/mes/src/FPGATools/init_fpgatools

Note that when starting using run, you get an xterm with .bash_fpgatools (invisible when using ls-l) as source. Since spring 2012, we have moved the license file to tollheimtu from pordoi. The .bash_fpgatools will need to be upgraded either manually or by doing the initialization over again.

Launch

>cd ~/fpgatools
>run

Use the new xterm window that pops up to start the FPGA tool you like. Paths to all the major components should be ready in the new xterm.

To start Modelsim type vsim
To start Xilinx (ISE) type ise 
To start PlanAhead type planAhead
etc


Digilent Adept on Linux

Digilent Adept to program the Atlys board can be obtained from the Digilent website.

Note that some Xilinx scripts require GNU BASH. Ubuntu (and possibly others) come with DASH. Disable DASH by reconfiguring it:

sudo dpkg-reconfigure dash

Note that the tools available on Windows, such as Xilinx ISE/PlanAhead and Modelsim are not supported by drift on Linux.

To enable autocompletion and history in XMD:

rlwrap xmd

License server

Licenses can be checked out from lisens.ifi.uio.no:

export LM_LICENSE_FILE=5370@lisens.ifi.uio.no

On Windows:

setx LM_LICENSE_FILE 5370@lisens.ifi.uio.no

Robin Peripheral Repository

The ROBIN EDK repository is located at:

\\bifrost.ifi.uio.no\project0\robin\CADlib\spartan3EDK2012 

It contains BSP for the Spartan3 Starter Board.

Set "Project Peripheral Reposotory Search Path" in XPS to enable it.

Academic Xilinx FPGA tools

Python interface to Xilinx/EDK MHS: https://github.com/EPiCS/reconos/tree/master/tools

XDL Format description: http://www.mn.uio.no/ifi/english/research/projects/cosrecos/publications/paper/recosoc11beckhoff.pdf

Bitstream Intepretation Library (Virtex5): https://github.com/florianbenz/bil

DeBit: http://code.google.com/p/debit/

GoAhead: http://www.mn.uio.no/ifi/english/research/projects/cosrecos/goahead/

Creating Hard Macros (guide): http://wiki.eng.iastate.edu/reconfigurable-computing-wiki/index.php/Creating_Hard_Macros

TORC: http://torc-isi.sourceforge.net/

ReconOS: https://github.com/EPiCS/reconos

Personal tools
Front page