Transaction-Level Modeling Framework for Space Applications
The SoCRocket Library can be checked out from our GIT repository at the following location:
$ git clone https://github.com/socrocket/core.git
To compile and simulate the included models, software and example platforms the following tools are required (items marked with * are optional):
Tool / Lib | Version | Vendor | Installation Path Variables |
---|---|---|---|
Python (+PyQT4) | >2.7 | Python team | On $PATH |
GCC (x86) | >4.6.0 | GCC team | On $PATH |
Doxygen* | >1.8.2 | Doxygen | On $PATH |
GCOV/LCOV* | >4.1.0 | GNU team | On $PATH |
Boost | >1_37_0 | Boost team | On system library path and system include path |
Questasim* | >6.0 | Mentor Graphics | On $PATH |
GRLIB* | 1.0.21 | Aeroflex Gaisler | $GRLIB_HOME – installation root; GRLIB_TECH – Path to compiled demo design: /designs/leon3-gr-xc3s-1500/modelsim |
On a Debian/Ubuntu (64bit) System you can install most of the dependencies with apt-get
:
$ sudo apt-get install build-essential python2.7-dev libboost-dev libboost-thread-dev libboost-regex-dev libboost-program-options-dev libboost-filesystem-dev libreadline-dev libc6-i386 lib32z1 lib32ncurses5 lib32bz2-1.0 swig gfortran libatlas-base-dev libhdf5-dev
Please make sure that all the software packages mentioned above are properly installed, before proceeding with building the library.
Compiling software for the LEON ISS requires a SPARC compiler. We recommend using the GCC/BCC provided by Aeroflex Gaisler. It will be downloaded automatically when you run ./waf configure
.
The Mentor Modelsim simulator and the Aeroflex Gaisler GRLIB are required for SystemC/VHDL co-simulation. This feature can be optionally disabled (see requirements4). Gcov/Lcov and Doxygen are also optional components. The build system will not check for them. If the packages are not present, test coverage calculation and the generation of additional documentation are not possible.