hwtLib.samples.intfArray package

Submodules

hwtLib.samples.intfArray.interfaceArray0 module

class hwtLib.samples.intfArray.interfaceArray0.InterfaceArraySample0[source]

Bases: hwt.synthesizer.unit.Unit

Sample unit with array interface (a and b) which is not using items of these array interfaces

_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.intfArray.interfaceArray0.InterfaceArraySample0ConcatOnly[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.intfArray.interfaceArray0.InterfaceArraySample0SliceOnly[source]

Bases: hwt.synthesizer.unit.Unit

Sample unit with array interface a and three of output interfaces b

_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.intfArray.interfaceArray0.InterfaceArraySample0TC(methodName='runTest')[source]

Bases: hwt.simulator.simTestCase.SimTestCase

setUpUnit(unitCls)[source]
test_InterfaceArraySample0ConcatOnly_simplePass()[source]
test_InterfaceArraySample0SliceOnly_simplePass()[source]
test_InterfaceArraySample0_simplePass()[source]

hwtLib.samples.intfArray.interfaceArray1 module

class hwtLib.samples.intfArray.interfaceArray1.InterfaceArraySample1[source]

Bases: hwt.synthesizer.unit.Unit

Example unit which contains two subuints (u0 and u1) and two array interfaces (a and b) first items of this interfaces are connected to u0 second to u1

_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.intfArray.interfaceArray1.InterfaceArraySample1TC(methodName='runTest')[source]

Bases: hwt.simulator.simTestCase.SimTestCase

setUp()[source]

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

test_simplePass()[source]
class hwtLib.samples.intfArray.interfaceArray1.SimpleSubunit[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.intfArray.interfaceArray2 module

class hwtLib.samples.intfArray.interfaceArray2.InterfaceArraySample2[source]

Bases: hwt.synthesizer.unit.Unit

Example unit which contains two subunits (u0 and u1) and two array interfaces (a and b) first items of this interfaces are connected to u0 second to u1

_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.intfArray.interfaceArray2.InterfaceArraySample2TC(methodName='runTest')[source]

Bases: hwt.simulator.simTestCase.SimTestCase

setUp()[source]

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

test_simplePass()[source]
class hwtLib.samples.intfArray.interfaceArray2.SimpleSubunit[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.intfArray.interfaceArray3 module

class hwtLib.samples.intfArray.interfaceArray3.InterfaceArraySample3[source]

Bases: hwt.synthesizer.unit.Unit

Sample unit with array interface (a and b) which is not using items of these array interfaces

_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.intfArray.interfaceArray3.InterfaceArraySample3TC(methodName='runTest')[source]

Bases: hwt.simulator.simTestCase.SimTestCase

_test(u)[source]
test_resources()[source]
test_resources_b()[source]
test_simplePass()[source]
test_simplePass_b()[source]
class hwtLib.samples.intfArray.interfaceArray3.InterfaceArraySample3b[source]

Bases: hwtLib.samples.intfArray.interfaceArray3.InterfaceArraySample3

Sample unit with array interface (a and b) which is not using items of these array interfaces

_impl()[source]

implementations

  • implement functionality of design there
  • called after _declr

hwtLib.samples.intfArray.interfaceArray4 module

class hwtLib.samples.intfArray.interfaceArray4.InterfaceArraySample4[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
_mkFieldInterface(structIntf, field)[source]
static shouldEnterFn(field)[source]
class hwtLib.samples.intfArray.interfaceArray4.InterfaceArraySample4TC(methodName='runTest')[source]

Bases: hwt.simulator.simTestCase.SimTestCase

_test(u)[source]
test_InterfaceArraySample4b()[source]
test_InterfaceArraySample4b_intfIterations()[source]
test_InterfaceArraySample4c()[source]
test_InterfaceArraySample4d()[source]
class hwtLib.samples.intfArray.interfaceArray4.InterfaceArraySample4b[source]

Bases: hwtLib.samples.intfArray.interfaceArray4.InterfaceArraySample4

static shouldEnterFn(field)[source]
class hwtLib.samples.intfArray.interfaceArray4.InterfaceArraySample4c[source]

Bases: hwtLib.samples.intfArray.interfaceArray4.InterfaceArraySample4b

_impl()[source]

implementations

  • implement functionality of design there
  • called after _declr
class hwtLib.samples.intfArray.interfaceArray4.InterfaceArraySample4d[source]

Bases: hwtLib.samples.intfArray.interfaceArray4.InterfaceArraySample4b

_impl()[source]

implementations

  • implement functionality of design there
  • called after _declr

Module contents