Multicube-SCoPE: The installation
In order to make Multicube-SCoPE, you have to check out
the following list of System Requirements,
pointing out the tools you need to do the job:
- GNU C/C++ toolchain: gcc/g++ (v4.x), make
- Bison and flex tools (as riquired by SCoPE)
- zlib-devel library
Of course, you'll have also to get a working installation of the SCoPE system-level
simulator
and the SystemC 2.2 library which is used by SCoPE to specify the system to simulate. You can
download the latest stable release of SystemC library from the Open SystemC Initiative
(OSCI) website. The required SCoPE latest stable
release, which is version 1.1.0 (February 2009), must be downloaded from
SCoPE
web page.
To get all the components working from scratch you must follow these steps:
- Build SystemC
- Build SCoPE
- Build M3P
- Build and run the adapted IMEC example
To do the first step you must read the SystemC documentation. Basically you must download
and uncompress the package and then you mus execute the sequence of commands: configure,
make and make install.
For building SCoPE you must follow these instructions:
- Set the environment variables
- export SYSTEMC=[systemc installation path]
- export SCOPE_HOME=[scope installation path]
- export SCOPE_XML_PLUGIN=[scope-xml-plugin installation path]
- Uncompress the package and enter the SCoPE directory
- Execute: make libraries
To build M3P you should use the
Auto-installation script.
provided in the source package. You have only to execute the script typing
. install.sh (please, note the blank space
between the point "." and the script name) You can also use the more cumbersome steps which
follow:
- Uncompress the package and enter the plug-in directory
- Execute: make
- Compile the examples provided with the package by executing: make examples
- Execute the examples provided with the package by executing: make run