CIRCT 23.0.0git
Loading...
Searching...
No Matches
Classes | Functions | Variables
esiaccel.codegen Namespace Reference

Classes

class  CppGenerator
 
class  CppTypeEmitter
 
class  CppTypePlanner
 
class  Generator
 

Functions

int run (Type[Generator] generator=CppGenerator, cmdline_args=sys.argv)
 

Variables

 _thisdir = Path(__file__).absolute().resolve().parent
 

Detailed Description

Code generation from ESI manifests to source code.

Uses a two-pass approach for C++: first collect and name all reachable types,
then emit structs/aliases in a dependency-ordered sequence so headers are
standalone and deterministic.

Function Documentation

◆ run()

int esiaccel.codegen.run ( Type[Generator]   generator = CppGenerator,
  cmdline_args = sys.argv 
)
Create and run a generator reading options from the command line.

Definition at line 439 of file codegen.py.

References esiaccel.connect(), print(), and esiaccel.codegen.run().

Referenced by esiaccel.codegen.run().

Variable Documentation

◆ _thisdir

esiaccel.codegen._thisdir = Path(__file__).absolute().resolve().parent
protected

Definition at line 24 of file codegen.py.