A Python package to interface with SystemC library and script SystemC simulations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Eyck Jentzsch bfb69cc441 Merge branch 'develop' 1 month ago
pysysc add license identifier 1 month ago
tests add license identifier 1 month ago
.gitignore Initial commit 2 years ago
.project Initial commit 2 years ago
.pydevproject update packaging and test 2 months ago
LICENSE Updated license formatting 2 years ago
MANIFEST.in update packaging and test 2 months ago
NOTES.md Added support for SCV & CCI, updated notes 2 years ago
PyScModule.cpp add license identifier 1 month ago
PyScModule.h add license identifier 1 month ago
README.md update README.md 2 months ago
setup.py add license identifier 1 month ago

README.md

PySysC

A Python 3 package to use SystemC from Python

How to setup the environment

The installation for PySysC is as follows (using bash shell):

# create virtual environment
python3 -m venv pysysc-env
# and enable it
. pysysc-env/bin/activate
# install needed packages
python3 -m pip install wheel
# install cppyy, C++ std version needs to match the version used to build the SystemC library
STDCXX=11 python3 -m pip install cppyy
# clone of PySysC
git clone https://git.minres.com/SystemC/PySysC.git
# install PySysC, for development PySysC use 'python3 -m pip install -e`
python3 -m pip install -e PySysC

Testing (preliminary)

To use the tests you also need to clone and build the PySysC-SC repo as sibling of PySysC. It contains the the code and libraries being used in the test.

TODO

  • pythonize sc_module with iteration protocol (__next__ and StopIteration exception)