SystemC Tutorial

SystemC Installation

Authors:  Jina Kim


  1. Setup Synopsys environment

o        Synopsys

 

  1. Download SystemC core

o        Go to www.systemc.org and create your account. The link is on the left side of the home page.

o        Go to download page and download the latest version 2.0.1 of SystemC core, “systemc-2.0.1.tgz”.

 

  1. Uncompress SystemC core

o        Uncompress the installation file

o       gunzip –d systemc-2.0.1.tgz

o       tar –xvf systemc-2.0.1.tar

By default the files will be extracted to directory systemc-2.0.1.

 

  1. Install SystemC core

o        Change to the directory systemc-2.0.1.

o       cd systemc-2.0.1

o        Create a temporary directory

o       mkdir objdir

o        Change to the temporary directory

o       cd objdir

o        Set the environment

o       setenv CXX g++

o        Configure the package for your system

o       ../configure

o        Compile the package

o       Synopsys

o       gmake

o        Install the package

o       gmake install

o        You can now remove the temporary directory

o       cd ..

o       rm –rf objdir