CIRCT 23.0.0git
Loading...
Searching...
No Matches
__init__.py
Go to the documentation of this file.
1# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
2# See https://llvm.org/LICENSE.txt for license information.
3# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4"""Code generation from ESI manifests to source code.
5
6This package only re-exports the public API. The implementation lives in the
7sibling modules:
8
9 * `generator` -- the `Generator` base, `CppGenerator`, the C++ type planner /
10 emitter (`CppTypePlanner` / `CppTypeEmitter`), and the `run` CLI entry point.
11 * `indented_writer` -- the `IndentedWriter` used by the emitters.
12 * `ports` -- the per-port-kind strategy table and its rendering helpers.
13"""
14
15from .generator import (Generator, CppGenerator, CppTypePlanner, CppTypeEmitter,
16 run)
17
18__all__ = [
19 "Generator",
20 "CppGenerator",
21 "CppTypePlanner",
22 "CppTypeEmitter",
23 "run",
24]