systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
systemc Namespace Reference

-clang More...

Detailed Description

-clang

systemc-clang driver, a commandline utility for calling systemc-clang end-to-end from c++ to Verilog

Usage:
    python /path/to/systemc-clang.py SYSTEMC_CLANG_PARAMS --- [options]
    options include:
    -o, --output: specify Verilog output folder

Example:
    python ../llnl/systemc-clang.py ~/working/systemc-clang/examples/llnl-examples/zfpsynth/zfp3/z3test.cpp \
        --debug -- -I ../systemc/include/ -I ../systemc-clang/examples/llnl-examples/zfpsynth/shared2/ -x c++ -w -c  \
        -std=c++17 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DRVD \
        --- -o ./z3test_hdl.txt.v