Installation Guide » History » Revision 22
Revision 21 (Alexander Kamkin, 09/26/2011 04:34 PM) → Revision 22/74 (Alexander Kamkin, 09/26/2011 04:36 PM)
h1. Installation Guide h2. Introduction This document describes the steps should be followed to install "С++TESK Testing ToolKit":http://forge.ispras.ru/projects/cpptesk-toolkit (hereinafter C++TESK). In addition to C++TESK "Icarus Verilog":http://iverilog.icarus.com and "VeriTool":http://forge.ispras.ru/projects/veritool are recommended to be installed (they are used for generating C/C++ API for Verilog modules). Before installing the toolkit make sure that [[System Requirements]] are met. h2. Installation To install C++TESK, pass the following steps: # Download the latest version of the C++TESK package (@cpptesk-toolkit-src-*.tar.gz@) from the "Files":http://forge.ispras.ru/projects/cpptesk-toolkit/files page. # Unzip the downloaded archive: <pre> % tar xf cpptesk-toolkit-src-*.tar.gz </pre> # Run the script @install.sh@ as follows: using the following parameters: * To _no parameters_ — install C++TESK only: <pre> % install.sh </pre> only; * --install-veritool — install4 C++TESK (version 1.0), simulator Icarus Verilog, and VeriTool, if they haven’t been installed; * --force-install-veritool — installs С++TESK, simulator Icarus Verilog, and VeriTool (Icarus Verilog and VeriTool will be installed even if they have been installed already). Home directories for all of the tools are chosen according to the following rules: # If the environment variable ISPRAS_HOME is not defined, it will be assigned to the address of the installing C++TESK user’s the home folder. # If the environment variable CPPTESK_HOME is not defined, it will be assigned to the value $ISPRAS_HOME/tools/cpptesk-toolkit. # If the environment variable ICARUS_HOME is not defined, it will be assigned to the value $ISPRAS_HOME/tools/verilog. # It the environment variable VERITOOL_HOME is not defined, it will be assigned to the value $ISPRAS_HOME/tools/veritool. # C++TESK is installed into the folder $CPPTESK_HOME. # Icarus Verilog (if it is required) is installed into the folder $ICARUS_HOME. # VeriTool (if it is required) is installed into the folder $VERITOOL_HOME. h3. Manual installation of Icarus Verilog and VeriTool If the computer is not connected to the Internet, manual installation of Icarus Verilog and VeriTool is required. Installation packages can be downloaded using the following addresses: http://sourceforge.net/projects/iverilog/files/iverilog/0.9.4/verilog-0.9.4.tar.gz and http://forge.ispras.ru/projects/veritool/files. For manual installation of Icarus Verilog the following steps should be passed: # If the system variable $ICARUS_HOME is not set, it should be assigned. E.g., the following command sequence can help: <pre> export ICARUS_HOME=<path_for_Icarus_Verilog_installation> echo "export ICARUS_HOME=$ICARUS_HOME" >> "$HOME/.profile" echo "export ICARUS_HOME=$ICARUS_HOME" >> "$HOME/.bashrc" </pre> # It the folder $ICARUS_HOME does not exist, it should be created: <pre> mkdir -p "$ICARUS_HOME" </pre> # Having changed the directory to the one with installation package of Icarus Verilog, it is necessary to apply the following command sequence: <pre> tar xf verilog-0.9.4.tar.gz cd verilog-0.9.4 ./configure --prefix="$ICARUS_HOME" make && make install </pre> For manual installation of VeriTool the following steps should be passed: # If the system variable $VERITOOL_HOME is not set, it should be assigned. E.g., the following command sequence can help: <pre> export VERITOOL_HOME=< _path_for_VeriTool_installation_ > echo "export VERITOOL_HOME=$VERITOOL_HOME">>"$HOME/.profile" echo "export VERITOOL_HOME=$VERITOOL_HOME">>"$HOME/.bashrc" </pre> # It the folder $VERITOOL_HOME does not exist, it should be created: <pre> mkdir -p "$VERITOOL_HOME" </pre> # Having changed the directory to the one with installation package of VeriTool, it is necessary to apply the following command sequence: <pre> tar xf veritool-0.2.1-beta-20110702.tar.gz cd veritool-0.2.1-beta-20110702 ./configure --prefix="$VERITOOL_HOME" make all && make install </pre>