DftIndependentModule

class DftIndependentModule(native: DftIndependentModule, dft: DFT)

Bases: object

An independent module of a DFT: a subtree that can be analyzed in isolation.

Resolves element indices to their DFTElement objects.

property elements: list[DFTElement]
Returns:

The elements directly contained in this module (excluding submodules).

property is_fully_static: bool
Returns:

True iff the module contains only static elements (also in submodules).

property is_single_be: bool
Returns:

True iff the module consists of a single BE (trivial module).

property is_static: bool
Returns:

True iff the module contains only static elements (except in submodules).

property representative: DFTElement
Returns:

The DFT element representing this module.

property submodules: list[DftIndependentModule]
Returns:

The submodules nested within this module.

subtree() → DFT
Returns:

The DFT restricted to this module’s subtree.