Line 1... |
Line 1... |
# $Id: INSTALL.txt 376 2011-04-17 12:24:07Z mueller $
|
# $Id: INSTALL.txt 408 2011-09-12 19:48:36Z mueller $
|
|
|
Guide to install and build w11a systems, test benches and support software
|
Guide to install and build w11a systems, test benches and support software
|
|
|
Table of content:
|
Table of content:
|
|
|
Line 38... |
Line 38... |
|
|
The make flow for building test benches (ghdl and ISim based) and systems
|
The make flow for building test benches (ghdl and ISim based) and systems
|
(Xilinx xst based) as well as the support software (mainly the rlink backend
|
(Xilinx xst based) as well as the support software (mainly the rlink backend
|
server) requires
|
server) requires
|
|
|
- the definition of the environment variable RETROBASE
|
- the definition of the environment variables:
|
|
- RETROBASE: must refer to the installation root directory
|
|
- BOOSTINC: pathname for includes of boost library
|
- that the tools binary directory is in the path
|
- that the tools binary directory is in the path
|
- that the tools library directory is in the library path
|
- that the tools library directory is in the library path
|
|
|
|
|
For bash and alike use
|
For bash and alike use
|
|
|
export RETROBASE=
|
export RETROBASE=
|
export PATH=$PATH:$RETROBASE/tools/bin
|
export PATH=$PATH:$RETROBASE/tools/bin
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$RETROBASE/tools/lib
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$RETROBASE/tools/lib
|
|
|
|
In most cases the boost library version coming with the distribution will
|
|
work, in those cases simply use
|
|
|
|
export BOOSTINC=/usr/include
|
|
|
After that building functional model based test benches will work. If you
|
After that building functional model based test benches will work. If you
|
want to also build post-xst or post-par test benches read next section.
|
want to also build post-xst or post-par test benches read next section.
|
|
|
3. Compile UNISIM/SIMPRIM libraries for ghdl ------------------------------
|
3. Compile UNISIM/SIMPRIM libraries for ghdl ------------------------------
|
|
|
Line 77... |
Line 85... |
|
|
4. Compile and install the support software -------------------------------
|
4. Compile and install the support software -------------------------------
|
|
|
4a. Compile sharable libraries ---------------------------------------
|
4a. Compile sharable libraries ---------------------------------------
|
|
|
|
Required tools and libraries:
|
|
g++ >= 4.3 (decltype support assumed in usage of boost::bind)
|
|
boost >= 1.35 (boost::thread api changed, new one is used)
|
|
|
|
Build was tested under:
|
|
ubuntu lucid (10.04 LTS): gcc 4.4.3 boost 1.40.0
|
|
debian lenny (5.0.8): gcc 4.3.2 boost 1.xx.x (t.b.c.)
|
|
|
To build all sharable libraries
|
To build all sharable libraries
|
|
|
cd $RETROBASE/tools/src
|
cd $RETROBASE/tools/src
|
make -j 4
|
make -j 4
|
|
|
Line 189... |
Line 205... |
_pad.log # pad file (renamed %_pad.txt)
|
_pad.log # pad file (renamed %_pad.txt)
|
_twr.log # trce log file (renamed %.twr)
|
_twr.log # trce log file (renamed %.twr)
|
|
|
To load the bitfile with WebPack impact into the target board use
|
To load the bitfile with WebPack impact into the target board use
|
|
|
make .impact
|
make .iconfig
|
|
|
If only the xst or par output is wanted just use
|
If only the xst or par output is wanted just use
|
|
|
make .ngc
|
make .ngc
|
make .ncd
|
make .ncd
|