Skip to content

embed-dsp/ed_scv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Compile and Install of the SystemC Verification Library (SCV)

This repository contains a make file for easy compile and install of the SystemC Verification Library.

This make file can build the SCV library on the following systems:

  • Linux
  • Windows

Get Source Code

ed_scv

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

SCV

# Enter the ed_scv directory.
cd ed_scv
# Edit the Makefile for selecting the SCV version.
vim Makefile
PACKAGE_VERSION = 2.0.1

# Edit the Makefile for selecting the SystemC version.
vim Makefile
SYSTEMC_VERSION = 2.3.3
# Download SCV source package into src/ directory.
make download

Build

# Unpack source code into build/ directory.
make prepare
# Configure source code.
# NOTE: We need to use sudo here because configure script tries to create the $(PREFIX) directory!
sudo make configure
# Compile source code using 8 simultaneous jobs (Default).
# NOTE: We need to use sudo here because it was used for configure!
sudo make compile

Install

The SCV 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 SystemC package:

Linux

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

Windows: MSYS2/mingw64

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

About

Compile and Install of SystemC Verification Library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published