Actions
Installation Guide » History » Revision 51
« Previous |
Revision 51/63
(diff)
| Next »
Sergey Smolov, 02/14/2020 05:23 PM
Installation Guide¶
- Table of contents
- Installation Guide
Setting Environment Variables¶
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):
Windows¶
- Open the
System Properties
window. - Switch to the
Advanced
tab. - Click on Environment Variables.
- Click
New...
underSystem Variables
. - In the
New System Variable
dialog specify variable name asNAME
and variable value asVALUE
. - Click
OK
on all open windows. - Reopen the command prompt window.
Linux¶
Add the command below to the ~/.bash_profile
or ~/.bashrc
file (Linux):
export NAME=VALUE
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.
Retrascope Installation¶
- Download and install JDK 11 (use AdoptOpenJDK for Windows and openjdk-11-jdk for Ubuntu Linux based OS).
- Download and install SMT-LIBv2 solver Z3 version 4.3 or higher.
- Set
SMT_SOLVER_PATH
environment variable to a full path to SMT-solver executable (like "/home/user/z3/bin/z3" or "C:\tools\z3\bin\z3.exe"). - Retrascope is able to use *nuXmv* or *NuSMV* to perform model checking.
Due to license limitations, we recommend to use NuSMV for commercial projects and nuXmv for non-commercial ones.
Choose the most suitable model checker and do the following:- To use nuXmv:
- Download and install nuXmv model checker.
- Set
NUXMV_PATH
environment variable to a full path to nuXmv executable (like "/home/user/nuxmv/nuXmv" or "C:\tools\nuxmv\nuXmv.exe").
- To use NuSMV:
- Download and install NuSMV model checker.
- Set
NUSMV_PATH
environment variable to a full path to NuSMV executable (like "/home/user/nusmv/bin/NuSMV" or "C:\tools\nusmv\bin\NuSMV.exe").
- To use nuXmv:
- For VHDL designs elaboration:
- Set
ZAMIA_LOCKING
environment variable totrue
. - Download and install Python interpreter.
- Set
- Download and unpack the Retrascope.
To make sure the tool is successfully installed, enter the retrascope
installation directory and run the following command for Windows OS (the correct output is also shown):
> bin\retrascope.bat --help usage: files [options] --engine <arg> Set a subset of engines --help Show this message --log <arg> Set a log file --log-level <arg> Set a log level --solver-debug Set debug mode for SMT solver --target <arg> Set a target entity --tool-debug-file <arg> Set debug mode and save info to debug log file
For Linux-based OS:
$ ./bin/retrascope --check Retrascope version: 1.1.3-beta-SNAPSHOT 2020.02.14 17:20:23.717. INFO: SMT solver is installed here: /home/tools/z3-4.7.1-x64-ubuntu-16.04/bin/z3 2020.02.14 17:20:23.759. INFO: Z3 version 4.7.1 - 64 bit 2020.02.14 17:20:23.759. WARNING: 'NUSMV_PATH' env variable is not set. 2020.02.14 17:20:23.760. INFO: nuXmv is installed here: /home/tools/nuxmv-1.0.1-linux-x86_64/nuXmv 2020.02.14 17:20:23.774. INFO: *** This is nuXmv 1.0.1 (compiled on Mon Nov 17 16:49:54 2014) 2020.02.14 17:20:23.774. INFO: 'ZAMIA_LOCKING' environment variable is set to 'true'. 2020.02.14 17:20:23.776. INFO: Python 2.7.17
What's next?¶
- To understand the main concept of the Retrascope architecture see Overview
- For quick overview of common use cases see Getting Started
- For full guide of the tool options, read Command Line Options
- To understand the scientific foundations of the tool see Retrascope-Related Publications
Updated by Sergey Smolov almost 5 years ago · 63 revisions