SystemC Quick Installation Guide

Start your first SystemC program

Rahul Bhadani
2 min readAug 15, 2022
The picture was taken by Author in his lab (not for re-use without Author’s permission)

In this article, I am providing steps I took to install SystemC on my Ubuntu 20.04 LTS machine.

  1. Install CMAKE from http://www.cmake.org/

2. Install a few optional packages that are useful:

sudo apt-get install doxygen
sudo apt-get install cmake-curses-gui
sudo apt install cmake-qt-gui

Next, clone the repo of the SystemC library and compile them:

git clone https://github.com/accellera-official/systemccd systemc
mkdir build
cd build/
cmake-gui ..

3. The following CMake-GUI will help you configure:

CMAKE-GUI Screenshot
Cmake-GUI screenshot

4. PressConfigure button, thenGenerate button. Close the Cmake-GUI.

5. Compile, test, and install the libraries using make or the IDE:

make
make check
sudo make install

6. If all tests pass during command make check, then the installation is likely to be successful with sudo make install.

Example program

--

--

Rahul Bhadani
Rahul Bhadani

Written by Rahul Bhadani

Asst. Professor, @UAH | @uarizona PhD, ECE | Intelligent Transportation & Quantum Science Researcher | Donation: https://www.buymeacoffee.com/rahulbhadani