Installation Guide¶
- Table of contents
- Installation Guide
Introduction¶
This document describes the steps should be followed to install С++TESK Testing ToolKit (hereinafter C++TESK). In addition to C++TESK, Icarus Verilog and VeriTool (hereinafter Verilog tools) 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.
Installation¶
Basic Installation (Recommended)¶
To install C++TESK, pass the following steps:
- Download the latest version of the C++TESK package (
cpptesk-toolkit-src-<version-number>.tar.gz) from the Files page. - Unzip the downloaded package:
- Run the
install.shscript as follows.
- To install C++TESK without installing the Verilog tools, run:
- To install C++TESK together with the Verilog tools (∙) not reinstalling the Verilog tools if they have been already installed, run:
- To install C++TESK and (re)install the Verilog tools (∙), run:
(∙) It should be emphasized that when installing the Verilog tools they are downloaded from the Internet. If direct connection is not available, try to install the Verilog tools manually as it is described in the next section.
Home directories for the tools are chosen according to the following rules:
- If the environment variable
ISPRAS_HOMEis not set,ISPRAS_HOME=<user-home-directory>. - If the environment variable
CPPTESK_HOMEis not set,CPPTESK_HOME=$ISPRAS_HOME/tools/cpptesk-toolkit. - If the environment variable
ICARUS_HOMEis not set,ICARUS_HOME=$ISPRAS_HOME/tools/verilog. - It the environment variable
VERITOOL_HOMEis not set,VERITOOL_HOME=$ISPRAS_HOME/tools/veritool.
C++TESK is installed into the directory $CPPTESK_HOME.
Icarus Verilog and VeriTool (if they are required) are installed into $ICARUS_HOME and $VERITOOL_HOME, respectively.
Manual Installation of the Verilog Tools¶
The Verilog tools can be installed manually (it might be useful if the target computer is not connected to the Internet, while there is another computer that can be used for downloading the packages).
To install Icarus Verilog, pass the following steps:
- Download the package from here.
- If the environment variable
ICARUS_HOMEis not set, assign an appropriate value: - Create the
$ICARUS_HOMEdirectory if it does not exist: - Unzip the downloaded package and compile the sources:
To install VeriTool, pass the following steps:
- Download the package from here.
- If the environment variable
VERITOOL_HOMEis not set, assign an appropriate value: - Create the
$VERITOOL_HOMEdirectory if it does not exist: - Unzip the downloaded package and compile the sources:
Eclipse plugin installation¶
To install C++TESK Eclipse plugin, do the following:
- Make sure you have Eclipse with C/C++ Development Environment and C++TESK installed.
- Start Eclipse.
- Open "Help"->"Install New Software..."
- Press "Add" and select "Archive" menu item and choose
CPPTESK_Eclipse_plugin.zipin your file system (it's inCPPTESK_HOME/pluginsdirectory). - Follow installation instructions (press "Ok" on the unsigned content warning at the end of installation).
Also it is possible to install C++TESK Eclipse plugin by command line. If you prefer this way, do the following:
- Download and unpack C++TESK Testing Toolkit distribution archive.
- Run the command:
If you already have the elder version of the plugin, it will be removed, and the latest version will be installed.
Updated by Alexander Kamkin over 13 years ago · 74 revisions