Project

General

Profile

Installation Guide » History » Version 21

Sergey Smolov, 01/21/2020 06:23 PM

1 1 Sergey Smolov
h1. Installation Guide
2
3 21 Sergey Smolov
h2. Prerequisites
4
5
For VHDL code elaboration we use "ZamiaCAD":http://zamiacad.sourceforge.net/web/ toolkit.
6
7
For constraint solving we use "Z3":http://z3.codeplex.com/ SMT solver.
8
9
For model checking we use "nuXmv":https://es-static.fbk.eu/tools/nuxmv/ tool (see distribution below).
10
11 16 Sergey Smolov
h2. Setting Environment Variables
12
13 20 Sergey Smolov
Several steps below require environment variable to be set in your OS. When you encounter such step in the guide, do the following (substitute @NAME@ and @VALUE@ by the name and value of your environment variable respectively):
14 16 Sergey Smolov
15
h3. Windows
16
17
# Open the @System Properties@ window.
18
# Switch to the @Advanced@ tab.
19
# Click on Environment Variables.
20
# Click @New...@ under @System Variables@.
21
# In the @New System Variable@ dialog specify variable name as @NAME@ and variable value as @VALUE@.
22
# Click @OK@ on all open windows.
23
# Reopen the command prompt window.
24
25
h3. Linux
26
27
Add the command below to the @~/.bash_profile@ or @~/.bashrc@ file (Linux):
28
<pre>export NAME=VALUE</pre> 
29
Changes will be applied after restarting the command-line terminal or reboot. You can also execute the command in your command-line terminal to make temporary changes.
30
31 17 Sergey Smolov
h2. Retrascope Installation
32 16 Sergey Smolov
33 19 Sergey Smolov
# Download and install "JDK 1.11":https://openjdk.java.net/projects/jdk/11/
34 16 Sergey Smolov
# Download and install SMT-LIBv2 solver. We recommend to use "Z3 4.3":https://github.com/Z3Prover/z3/releases/tag/z3-4.3.2.
35 20 Sergey Smolov
# Set either the system property @smt.solver.path@ or the environment variable @SMT_SOLVER_PATH@ to a full path to a SMT-solver executable file (for example, "/home/user/tools/z3/z3" or "C:\tools\z3\bin\z3.exe") in order to run solver-dependent tasks. If the both are set, a value of @fortress.solver.path@ will be used.
36 10 Mikhail Lebedev
# Download and install "nuXmv":https://es-static.fbk.eu/tools/nuxmv/index.php?n=Download.Download model checker.
37 18 Sergey Smolov
# Set either the system property @nuxmv.path@ or the environment variable @NUXMV_PATH@ to a full path to a NuXMV executable file (for example, "/home/user/tools/nuxmv/nuXmv" or "C:\tools\nuxmv\nuXmv.exe") in order to run checker-dependent tasks.
38 10 Mikhail Lebedev
# For VHDL designs elaboration:
39 16 Sergey Smolov
  a) Set @ZAMIA_LOCKING@ environment variable to @true@.
40 1 Sergey Smolov
  b) Download and install "Python interpreter":http://https://www.python.org. 
41 15 Sergey Smolov
# Download, unpack and use the tool through it's "Command Line Options":http://forge.ispras.ru/projects/retrascope/wiki/Command_Line_Options/edit.