Skip to content

embed-dsp/ed_systemc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Compile and Install of the SystemC and TLM Library

This repository contains a make file for easy compile and install of SystemC / TLM.

This make file can build the SystemC / TLM library on the following systems:

  • Linux
  • Windows

Get Source Code

ed_systemc

git clone https://github.com/embed-dsp/ed_systemc.git

SystemC / TLM

# Enter the ed_systemc directory.
cd ed_systemc
# Edit the Makefile for selecting the SystemC / TLM source version.
vim Makefile
PACKAGE_VERSION = 2.3.3
# Download SystemC source package into src/ directory.
make download

Build

# Unpack source code into build/ directory.
make prepare
# Configure source code.
make configure
# Compile source code using 8 simultaneous jobs (Default).
make compile

Install

The SystemC package does NOT install correctly according to the GNU Coding Standards. The build products are therefore installed in the following locations in order to allow separate installation for different architectures and simple interoperability with the SCV package:

Linux

# Install build products.
sudo make install
/opt/
└── systemc/
    └── linux_x86_64/           # 64-bit binaries and libraries for Linux
        └── systemc-2.3.3/
            ├── docs/           # Documentation.
            │   ├── ...
            │
            ├── include/        # Include directory.
            │   ├── systemc.h
            │   ├── tlm.h
            │       ...
            ├── lib-linux64/    # Library directory.
            │   ├── libsystemc.a
                    ...

Windows: MSYS2/mingw64

# Install build products.
make install
/c/opt/
└── systemc/
    └── mingw64_x86_64/         # 64-bit binaries and libraries for Windows
        └── systemc-2.3.3/
            ├── docs/           # Documentation.
            │   ├── ...
            │
            ├── include/        # Include directory.
            │   ├── systemc.h
            │   ├── tlm.h
            │       ...
            ├── lib-mingw/      # Library directory.
            │   ├── libsystemc.a
                    ...

About

Compile and Install of SystemC and TLM Library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published