Installation Guide » History » Version 27
Alexander Kamkin, 09/26/2011 04:48 PM
1 | 1 | Alexander Kamkin | h1. Installation Guide |
---|---|---|---|
2 | |||
3 | h2. Introduction |
||
4 | |||
5 | 26 | Alexander Kamkin | 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 (hereinafter Verilog tools) are recommended to be installed (they are used for generating C/C++ API for Verilog modules). |
6 | 11 | Alexander Kamkin | |
7 | Before installing the toolkit make sure that [[System Requirements]] are met. |
||
8 | 1 | Alexander Kamkin | |
9 | h2. Installation |
||
10 | |||
11 | 12 | Alexander Kamkin | To install C++TESK, pass the following steps: |
12 | 1 | Alexander Kamkin | |
13 | 19 | Alexander Kamkin | # 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. |
14 | 20 | Alexander Kamkin | # Unzip the downloaded archive: |
15 | 18 | Alexander Kamkin | <pre> |
16 | % tar xf cpptesk-toolkit-src-*.tar.gz |
||
17 | </pre> |
||
18 | 23 | Alexander Kamkin | # Run the script @install.sh@ as follows. |
19 | 27 | Alexander Kamkin | * To install C++TESK without installing the Verilog tools, run: |
20 | 22 | Alexander Kamkin | <pre> |
21 | % install.sh |
||
22 | 1 | Alexander Kamkin | </pre> |
23 | 27 | Alexander Kamkin | * To install C++TESK together with the Verilog tools, run: |
24 | 23 | Alexander Kamkin | <pre> |
25 | % install.sh --install-veritool |
||
26 | </pre> |
||
27 | * To install C++TESK and to (re)install Icarus Verilog and VeriTool: |
||
28 | 25 | Alexander Kamkin | <pre> |
29 | % install.sh --force-install-veritool |
||
30 | </pre>Icarus Verilog and VeriTool will be installed even if they have been installed already. |
||
31 | 1 | Alexander Kamkin | |
32 | 12 | Alexander Kamkin | Home directories for all of the tools are chosen according to the following rules: |
33 | 1 | Alexander Kamkin | |
34 | 12 | Alexander Kamkin | # 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. |
35 | # If the environment variable CPPTESK_HOME is not defined, it will be assigned to the value $ISPRAS_HOME/tools/cpptesk-toolkit. |
||
36 | # If the environment variable ICARUS_HOME is not defined, it will be assigned to the value $ISPRAS_HOME/tools/verilog. |
||
37 | # It the environment variable VERITOOL_HOME is not defined, it will be assigned to the value $ISPRAS_HOME/tools/veritool. |
||
38 | # C++TESK is installed into the folder $CPPTESK_HOME. |
||
39 | # Icarus Verilog (if it is required) is installed into the folder $ICARUS_HOME. |
||
40 | # VeriTool (if it is required) is installed into the folder $VERITOOL_HOME. |
||
41 | 6 | Alexander Kamkin | |
42 | h3. Manual installation of Icarus Verilog and VeriTool |
||
43 | |||
44 | 1 | Alexander Kamkin | 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. |
45 | 2 | Alexander Kamkin | |
46 | 7 | Alexander Kamkin | For manual installation of Icarus Verilog the following steps should be passed: |
47 | 1 | Alexander Kamkin | |
48 | 7 | Alexander Kamkin | # If the system variable $ICARUS_HOME is not set, it should be assigned. E.g., the following command sequence can help: |
49 | <pre> |
||
50 | 1 | Alexander Kamkin | export ICARUS_HOME=<path_for_Icarus_Verilog_installation> |
51 | echo "export ICARUS_HOME=$ICARUS_HOME" >> "$HOME/.profile" |
||
52 | echo "export ICARUS_HOME=$ICARUS_HOME" >> "$HOME/.bashrc" |
||
53 | 7 | Alexander Kamkin | </pre> |
54 | # It the folder $ICARUS_HOME does not exist, it should be created: |
||
55 | <pre> |
||
56 | 1 | Alexander Kamkin | mkdir -p "$ICARUS_HOME" |
57 | 7 | Alexander Kamkin | </pre> |
58 | # Having changed the directory to the one with installation package of Icarus Verilog, it is necessary to apply the following command sequence: |
||
59 | <pre> |
||
60 | 1 | Alexander Kamkin | tar xf verilog-0.9.4.tar.gz |
61 | cd verilog-0.9.4 |
||
62 | ./configure --prefix="$ICARUS_HOME" |
||
63 | make && make install |
||
64 | 7 | Alexander Kamkin | </pre> |
65 | 1 | Alexander Kamkin | |
66 | 7 | Alexander Kamkin | For manual installation of VeriTool the following steps should be passed: |
67 | 1 | Alexander Kamkin | |
68 | 9 | Alexander Kamkin | # If the system variable $VERITOOL_HOME is not set, it should be assigned. E.g., the following command sequence can help: |
69 | <pre> |
||
70 | 10 | Alexander Kamkin | export VERITOOL_HOME=< _path_for_VeriTool_installation_ > |
71 | 1 | Alexander Kamkin | echo "export VERITOOL_HOME=$VERITOOL_HOME">>"$HOME/.profile" |
72 | echo "export VERITOOL_HOME=$VERITOOL_HOME">>"$HOME/.bashrc" |
||
73 | 9 | Alexander Kamkin | </pre> |
74 | # It the folder $VERITOOL_HOME does not exist, it should be created: |
||
75 | <pre> |
||
76 | 1 | Alexander Kamkin | mkdir -p "$VERITOOL_HOME" |
77 | 9 | Alexander Kamkin | </pre> |
78 | # Having changed the directory to the one with installation package of VeriTool, it is necessary to apply the following command sequence: |
||
79 | <pre> |
||
80 | 1 | Alexander Kamkin | tar xf veritool-0.2.1-beta-20110702.tar.gz |
81 | cd veritool-0.2.1-beta-20110702 |
||
82 | ./configure --prefix="$VERITOOL_HOME" |
||
83 | make all && make install |
||
84 | 9 | Alexander Kamkin | </pre> |