hwtLib.samples.hierarchy package

Submodules

hwtLib.samples.hierarchy.groupOfBlockrams module

class hwtLib.samples.hierarchy.groupOfBlockrams.GroupOfBlockrams[source]

Bases: hwt.synthesizer.unit.Unit

_config()[source]

Configure object parameters

  • setup all parameters on this object, use Param class instances to allow use of parameter inheritance
  • called in __init__ of class
_declr()[source]

declarations

  • do all declarations of externally accessible objects there (Interfaces)
  • _declr method is called after _config
  • if this object is Unit all interfaces are threaten as externally accessible interfaces if this object is Interface all subinterfaces are loaded
_impl()[source]

implementations

  • implement functionality of design there
  • called after _declr

hwtLib.samples.hierarchy.netFilter module

class hwtLib.samples.hierarchy.netFilter.Exporter[source]

Bases: hwt.synthesizer.interfaceLevel.emptyUnit.EmptyUnit

_declr()[source]

declarations

  • do all declarations of externally accessible objects there (Interfaces)
  • _declr method is called after _config
  • if this object is Unit all interfaces are threaten as externally accessible interfaces if this object is Interface all subinterfaces are loaded
_impl()[source]

implementations

  • implement functionality of design there
  • called after _declr
class hwtLib.samples.hierarchy.netFilter.Filter[source]

Bases: hwt.synthesizer.interfaceLevel.emptyUnit.EmptyUnit

_declr()[source]

declarations

  • do all declarations of externally accessible objects there (Interfaces)
  • _declr method is called after _config
  • if this object is Unit all interfaces are threaten as externally accessible interfaces if this object is Interface all subinterfaces are loaded
_impl()[source]

implementations

  • implement functionality of design there
  • called after _declr
class hwtLib.samples.hierarchy.netFilter.HeadFieldExtractor[source]

Bases: hwt.synthesizer.interfaceLevel.emptyUnit.EmptyUnit

_declr()[source]

declarations

  • do all declarations of externally accessible objects there (Interfaces)
  • _declr method is called after _config
  • if this object is Unit all interfaces are threaten as externally accessible interfaces if this object is Interface all subinterfaces are loaded
_impl()[source]

implementations

  • implement functionality of design there
  • called after _declr
class hwtLib.samples.hierarchy.netFilter.NetFilter[source]

Bases: hwt.synthesizer.unit.Unit

This unit has actually no functionality it is just example of hierarchical design.

_config()[source]

Configure object parameters

  • setup all parameters on this object, use Param class instances to allow use of parameter inheritance
  • called in __init__ of class
_declr()[source]

declarations

  • do all declarations of externally accessible objects there (Interfaces)
  • _declr method is called after _config
  • if this object is Unit all interfaces are threaten as externally accessible interfaces if this object is Interface all subinterfaces are loaded
_impl()[source]

implementations

  • implement functionality of design there
  • called after _declr
class hwtLib.samples.hierarchy.netFilter.PatternMatch[source]

Bases: hwt.synthesizer.interfaceLevel.emptyUnit.EmptyUnit

_declr()[source]

declarations

  • do all declarations of externally accessible objects there (Interfaces)
  • _declr method is called after _config
  • if this object is Unit all interfaces are threaten as externally accessible interfaces if this object is Interface all subinterfaces are loaded
_impl()[source]

implementations

  • implement functionality of design there
  • called after _declr

hwtLib.samples.hierarchy.netFilter_serialized module

hwtLib.samples.hierarchy.simpleSubunit module

class hwtLib.samples.hierarchy.simpleSubunit.SimpleSubunit[source]

Bases: hwt.synthesizer.unit.Unit

_declr()[source]

declarations

  • do all declarations of externally accessible objects there (Interfaces)
  • _declr method is called after _config
  • if this object is Unit all interfaces are threaten as externally accessible interfaces if this object is Interface all subinterfaces are loaded
_impl()[source]

implementations

  • implement functionality of design there
  • called after _declr

hwtLib.samples.hierarchy.simpleSubunit2 module

class hwtLib.samples.hierarchy.simpleSubunit2.SimpleSubunit2[source]

Bases: hwt.synthesizer.unit.Unit

_declr()[source]

declarations

  • do all declarations of externally accessible objects there (Interfaces)
  • _declr method is called after _config
  • if this object is Unit all interfaces are threaten as externally accessible interfaces if this object is Interface all subinterfaces are loaded
_impl()[source]

implementations

  • implement functionality of design there
  • called after _declr
class hwtLib.samples.hierarchy.simpleSubunit2.SimpleSubunit2TC(methodName='runTest')[source]

Bases: hwt.simulator.simTestCase.SimTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_simplePass()[source]

hwtLib.samples.hierarchy.simpleSubunit3 module

class hwtLib.samples.hierarchy.simpleSubunit3.SimpleSubunit3[source]

Bases: hwt.synthesizer.unit.Unit

_config()[source]

Configure object parameters

  • setup all parameters on this object, use Param class instances to allow use of parameter inheritance
  • called in __init__ of class
_declr()[source]

declarations

  • do all declarations of externally accessible objects there (Interfaces)
  • _declr method is called after _config
  • if this object is Unit all interfaces are threaten as externally accessible interfaces if this object is Interface all subinterfaces are loaded
_impl()[source]

implementations

  • implement functionality of design there
  • called after _declr
class hwtLib.samples.hierarchy.simpleSubunit3.SimpleSubunit3TC(methodName='runTest')[source]

Bases: hwtLib.samples.hierarchy.simpleSubunit2.SimpleSubunit2TC

setUp()[source]

Hook method for setting up the test fixture before exercising it.

hwtLib.samples.hierarchy.unitToUnitConnection module

class hwtLib.samples.hierarchy.unitToUnitConnection.UnitToUnitConnection[source]

Bases: hwt.synthesizer.unit.Unit

_config()[source]

Configure object parameters

  • setup all parameters on this object, use Param class instances to allow use of parameter inheritance
  • called in __init__ of class
_declr()[source]

declarations

  • do all declarations of externally accessible objects there (Interfaces)
  • _declr method is called after _config
  • if this object is Unit all interfaces are threaten as externally accessible interfaces if this object is Interface all subinterfaces are loaded
_impl()[source]

implementations

  • implement functionality of design there
  • called after _declr
class hwtLib.samples.hierarchy.unitToUnitConnection.UnitToUnitConnectionTC(methodName='runTest')[source]

Bases: hwtLib.samples.hierarchy.simpleSubunit2.SimpleSubunit2TC

setUp()[source]

Hook method for setting up the test fixture before exercising it.

Module contents