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

Public Member Functions

 __init__ (self, systemc_clang_build_dir=None, llvm_install_path=None, systemc_path=None)
 
 systemc_clang_build_dir (self)
 
 systemc_clang_binary (self)
 
 llvm_install_path (self)
 
 llvm_inc_dir (self)
 
 systemc_path (self)
 
 systemc_inc_dir (self)
 
 execute (self, args, target_name=None)
 

Public Attributes

 systemc_clang_binary
 
 llvm_install_path
 
 systemc_path
 

Protected Attributes

 _systemc_clang_build_dir = systemc_clang_build_dir
 
 _llvm_install_path = llvm_install_path
 
 _systemc_path = systemc_path
 

Private Member Functions

 __check_systemc_clang_executable_exists (self)
 

Static Private Member Functions

 __get_systemc_clang_output_files (argv)
 
 __get_hdl_file_out (argv)
 
 __get_sources_from_args (argv)
 

Detailed Description

A class that encapsulate the execution of systemc-clang binary

Definition at line 55 of file systemc-clang.py.

Constructor & Destructor Documentation

◆ __init__()

systemc-clang.SystemCClang.__init__ ( self,
systemc_clang_build_dir = None,
llvm_install_path = None,
systemc_path = None )

Definition at line 62 of file systemc-clang.py.

Member Function Documentation

◆ __check_systemc_clang_executable_exists()

systemc-clang.SystemCClang.__check_systemc_clang_executable_exists ( self)
private

Definition at line 58 of file systemc-clang.py.

◆ __get_hdl_file_out()

systemc-clang.SystemCClang.__get_hdl_file_out ( argv)
staticprivate

Definition at line 151 of file systemc-clang.py.

◆ __get_sources_from_args()

systemc-clang.SystemCClang.__get_sources_from_args ( argv)
staticprivate

Definition at line 162 of file systemc-clang.py.

◆ __get_systemc_clang_output_files()

systemc-clang.SystemCClang.__get_systemc_clang_output_files ( argv)
staticprivate

Definition at line 141 of file systemc-clang.py.

◆ execute()

systemc-clang.SystemCClang.execute ( self,
args,
target_name = None )
executes systemc-clang as if it is on the commandline

Definition at line 112 of file systemc-clang.py.

◆ llvm_inc_dir()

systemc-clang.SystemCClang.llvm_inc_dir ( self)
returns the include directory necessary for systemc-clang to locate headers.
Currently, it only supports version 12.0.0

Definition at line 96 of file systemc-clang.py.

◆ llvm_install_path()

systemc-clang.SystemCClang.llvm_install_path ( self)

Definition at line 92 of file systemc-clang.py.

◆ systemc_clang_binary()

systemc-clang.SystemCClang.systemc_clang_binary ( self)

Definition at line 87 of file systemc-clang.py.

◆ systemc_clang_build_dir()

systemc-clang.SystemCClang.systemc_clang_build_dir ( self)

Definition at line 83 of file systemc-clang.py.

◆ systemc_inc_dir()

systemc-clang.SystemCClang.systemc_inc_dir ( self)

Definition at line 109 of file systemc-clang.py.

◆ systemc_path()

systemc-clang.SystemCClang.systemc_path ( self)

Definition at line 105 of file systemc-clang.py.

Member Data Documentation

◆ _llvm_install_path

systemc-clang.SystemCClang._llvm_install_path = llvm_install_path
protected

Definition at line 71 of file systemc-clang.py.

◆ _systemc_clang_build_dir

systemc-clang.SystemCClang._systemc_clang_build_dir = systemc_clang_build_dir
protected

Definition at line 66 of file systemc-clang.py.

◆ _systemc_path

systemc-clang.SystemCClang._systemc_path = systemc_path
protected

Definition at line 76 of file systemc-clang.py.

◆ llvm_install_path

systemc-clang.SystemCClang.llvm_install_path

Definition at line 102 of file systemc-clang.py.

◆ systemc_clang_binary

systemc-clang.SystemCClang.systemc_clang_binary

Definition at line 59 of file systemc-clang.py.

◆ systemc_path

systemc-clang.SystemCClang.systemc_path

Definition at line 110 of file systemc-clang.py.


The documentation for this class was generated from the following file: