Skip to content

zhuanhao-wu/systemc-clang

 
 

Repository files navigation

https://travis-ci.com/anikau31/systemc-clang.svg?branch=master Documentation Status

A SystemC Parser using the Clang Front-end

systemc-clang parses SystemC 2.3.3. It parses RTL constructs and some TLM 2.0 constructs.

Requirements

Installation

Plugin HDL

To compile with the HDL plugin, run cmake with the -DHDL=on flag.

Documentation

  • https://systemc-clang.readthedocs.io
  • It is possible to build the documentation by specifying the -DBUILD_DOC=ON flag. This will provide the following targets ** doxygen: Builds Doxygen documentation. ** sphinx : Builds Sphinx documentation.

Tests

To enable compilation of tests, run cmake with the -DENABLE_TESTS=on flag and also the -DSYSTEMC_DIR=<path> flag to pass the location for SystemC. Without specifying the SYSTEMC_DIR path, it will not be possible to run the unit tests.

For information about running verilog conversion tests, see this file.

Issues

If you encounter problems, please create issues with a minimally working example that illustrates the issue.

Development Docker image

We build all the dependencies necessary for systemc-clang in a Docker image that you may use.

Developers

Core

HDL plugin

  • Maya B. Gokhale
  • Zhuanhao Wu

License

systemc-clang follows the same licensing as clang. Please look at LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 79.6%
  • Shell 6.9%
  • Makefile 6.8%
  • Python 3.2%
  • C 2.3%
  • CMake 0.7%
  • Other 0.5%