desktop version

[ARCHIVE][October 24, 2013] How to install SystemC?

WARNING!

This is a deprecated content.
An up-to-date version of it is here

1. Downloading the source code

Register at http://www.systemc.org and then download systemc-2.2.0.tgz and TLM-2.0.1.tgz from the OSCI standards download page

2. Uncompressing the source code tarballs

$ tar zxvf systemc-2.2.0.tgz
$ tar zxvf TLM-2.0.1.tgz
This will uncompress the source of SystemC in directory systemc-2.2.0 and the source TLM 2.0.1 in directory TLM-2009-07-15

3. Patching the source code

Download and apply the following patch to SystemC 2.2.0: patch-systemc-2.2.0.gz
$ cd systemc-2.2.0
$ gzip -dc patch-systemc-2.2.0.gz | patch -p1

4. Configuring SystemC

To configure, compile, and install SystemC in your home directory, do the following at the command prompt:
$ cd systemc-2.2.0
$ mkdir objdir
$ cd objdir
$ mkdir ${HOME}/systemc
$ ../configure --prefix=${HOME}/systemc

5. Compiling and installing SystemC

To handle threads, SystemC relies on QuickThreads, a fast implementation of user's threads. QuickThreads speeds-up threads switching compared to the slower kernel POSIX threads and thus considerably improves overall simulation performance. To compile SystemC with the built-in QuickThreads (recommended), do the following at the command prompt:
$ make
$ make install
However, if you intend to instrument your simulator (e.g. with valgrind) to debug the simulator memory leaks, bad memory accesses, pointers, and uninitialized memory reads, you should use the slower kernel POSIX threads. To compile SystemC with the kernel POSIX threads, do the following at the command prompt:
$ make pthreads
$ make install

What's new ?

The web site has been migrated to a new server. Please note that contact mails have changed too. More to come…stay tuned!

Virtual Platforms

Highlights

Acknowledgments

Digiteo
We would like to thank Digiteo that supported us in making the UNISIM virtual platforms available to the community.

Exhibition

HiPEAC
We presented a poster at the poster sessions of the HiPEAC'12 conference, January 23-25, 2012, Paris, France. The HiPEAC conference provides a forum for experts in computer architecture, programming models, compilers, and operating systems for embedded and general-purpose systems. The conference aims at the dissemination of advanced scientific knowledge and the promotion of international contacts among scientists from academia and industry.

On-going evaluation

OPEES
A UNISIM virtual platform of a Xilinx Virtex-5 FXT is being evaluated by project partners in the context of OPEES (Open Platform for the Engineering of Embedded Systems), a European project that aims to ensure long-term availability of critical / embedded systems engineering technologies to secure industry competitiveness and development.