hwtBuildsystem.examples package

Subpackages

Submodules

hwtBuildsystem.examples.example_HwModule module

class hwtBuildsystem.examples.example_HwModule.ExampleTop0(hdlName: str | None = None)[source]

Bases: HwModule

Lorem Ipsum componet to have something to compile

hwConfig()[source]

Configure object parameters

  • setup all parameters on this object, use HwParam class instances to allow use of parameter inheritance

  • called in __init__ of class

hwDeclr()[source]

In this function user should specify the declaration of interfaces for communication with outside word. It is also better to declare sub components there as it allows for better parallelization during the build.

  • _declr method is called after _config

  • if this object is hwt.hwModule.HwModule all interfaces are treated as externally accessible interfaces if this object is HwIO instance all subinterfaces are loaded as well

hwImpl()[source]

Implementation - construct main body of the component in this function.

  • called after _declr

hwtBuildsystem.examples.synthetizeHwModule module