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(hdl_name_override: Optional[str] = None)[source]

Bases: Unit

Example of error from accessing a internal interface of subunit

hwtLib.examples.errors.combLoops module

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

Bases: Unit

A direct combinational loop which is detected immediately

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

Bases: TestCase

get_comb_loops(u: Unit)[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(hdl_name_override: Optional[str] = None)[source]

Bases: HandshakeWire0

class hwtLib.examples.errors.combLoops.HandshakeRegLoop(loop_connector_cls)[source]

Bases: Unit

__init__(loop_connector_cls)[source]
class hwtLib.examples.errors.combLoops.HandshakeWire0(hdl_name_override: Optional[str] = None)[source]

Bases: Unit

class hwtLib.examples.errors.combLoops.HandshakeWire1(hdl_name_override: Optional[str] = None)[source]

Bases: HandshakeWire0

HandshakeWire0 with register on rd signal

class hwtLib.examples.errors.combLoops.WrongHandshakeCheckExample0(hdl_name_override: Optional[str] = None)[source]

Bases: HandshakeWire0

class hwtLib.examples.errors.combLoops.WrongHandshakeCheckExample1(hdl_name_override: Optional[str] = None)[source]

Bases: HandshakeWire0

hwtLib.examples.errors.combLoops.freeze_set_of_sets(obj)[source]

hwtLib.examples.errors.inconsistentIntfDirection module

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

Bases: Unit

hwtLib.examples.errors.invalidTypeConnetion module

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

Bases: Unit

hwtLib.examples.errors.multipleDriversOfChildNet module

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

Bases: Unit

class hwtLib.examples.errors.multipleDriversOfChildNet.MultipleDriversOfChildNet(hdl_name_override: Optional[str] = None)[source]

Bases: Unit

class hwtLib.examples.errors.multipleDriversOfChildNet.MultipleDriversOfChildNet2(hdl_name_override: Optional[str] = None)[source]

Bases: MultipleDriversOfChildNet

hwtLib.examples.errors.unusedSubunit module

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

Bases: Unit

class hwtLib.examples.errors.unusedSubunit.UnusedSubunit(hdl_name_override: Optional[str] = None)[source]

Bases: Unit

class hwtLib.examples.errors.unusedSubunit.UnusedSubunit2(hdl_name_override: Optional[str] = None)[source]

Bases: Unit