hwtLib.examples.errors package

Examples of error messages/exceptions generated by hwt on various errors.

Submodules

hwtLib.examples.errors.accessingSubunitInternalIntf module

class hwtLib.examples.errors.accessingSubunitInternalIntf.AccessingSubunitInternalIntf(hdlName: str | None = None)[source]

Bases: HwModule

Example of error from accessing a internal interface of subunit

__annotations__ = {}

hwtLib.examples.errors.combLoops module

class hwtLib.examples.errors.combLoops.CntrCombLoop(hdlName: str | None = None)[source]

Bases: HwModule

A direct combinational loop which is detected immediately

__annotations__ = {}
class hwtLib.examples.errors.combLoops.CombLoopAnalysisTC(methodName='runTest')[source]

Bases: TestCase

__annotations__ = {}
_classSetupFailed = False
_class_cleanups = []
get_comb_loops(m: HwModule)[source]
test_CntrCombLoop()[source]
test_HandshakeRegLoop_HandshakeWire0()[source]
test_HandshakeRegLoop_HandshakeWire1()[source]
test_HandshakeWire0()[source]
test_HandshakeWire1()[source]
test_shared_component_instance_no_comb_loops()[source]
test_shared_component_instance_with_comb_loops()[source]
test_tarjan()[source]
class hwtLib.examples.errors.combLoops.DoubleHandshakeReg(hdlName: str | None = None)[source]

Bases: HandshakeWire0

__annotations__ = {}
class hwtLib.examples.errors.combLoops.HandshakeRegLoop(loop_connector_cls)[source]

Bases: HwModule

__annotations__ = {}
__init__(loop_connector_cls)[source]
class hwtLib.examples.errors.combLoops.HandshakeWire0(hdlName: str | None = None)[source]

Bases: HwModule

__annotations__ = {}
class hwtLib.examples.errors.combLoops.HandshakeWire1(hdlName: str | None = None)[source]

Bases: HandshakeWire0

HandshakeWire0 with register on rd signal

__annotations__ = {}
class hwtLib.examples.errors.combLoops.WrongHandshakeCheckExample0(hdlName: str | None = None)[source]

Bases: HandshakeWire0

__annotations__ = {}
class hwtLib.examples.errors.combLoops.WrongHandshakeCheckExample1(hdlName: str | None = None)[source]

Bases: HandshakeWire0

__annotations__ = {}

hwtLib.examples.errors.inconsistentIntfDirection module

class hwtLib.examples.errors.inconsistentIntfDirection.InconsistentIntfDirection(hdlName: str | None = None)[source]

Bases: HwModule

__annotations__ = {}

hwtLib.examples.errors.invalidTypeConnetion module

class hwtLib.examples.errors.invalidTypeConnetion.InvalidTypeConnetion(hdlName: str | None = None)[source]

Bases: HwModule

__annotations__ = {}

hwtLib.examples.errors.multipleDriversOfChildNet module

class hwtLib.examples.errors.multipleDriversOfChildNet.ExampleChild(hdlName: str | None = None)[source]

Bases: HwModule

__annotations__ = {}
class hwtLib.examples.errors.multipleDriversOfChildNet.MultipleDriversOfChildNet(hdlName: str | None = None)[source]

Bases: HwModule

__annotations__ = {}
class hwtLib.examples.errors.multipleDriversOfChildNet.MultipleDriversOfChildNet2(hdlName: str | None = None)[source]

Bases: MultipleDriversOfChildNet

__annotations__ = {}

hwtLib.examples.errors.unusedSubunit module

class hwtLib.examples.errors.unusedSubunit.ExampleChild(hdlName: str | None = None)[source]

Bases: HwModule

__annotations__ = {}
class hwtLib.examples.errors.unusedSubunit.UnusedSubunit(hdlName: str | None = None)[source]

Bases: HwModule

__annotations__ = {}
class hwtLib.examples.errors.unusedSubunit.UnusedSubunit2(hdlName: str | None = None)[source]

Bases: HwModule

__annotations__ = {}