hwtLib.amba.interconnect package

Submodules

hwtLib.amba.interconnect.axiInterconnectbase module

class hwtLib.amba.interconnect.axiInterconnectbase.AxiInterconnectBase[source]

Bases: hwt.synthesizer.unit.Unit

configureFromDrivers(drivers, datapump, byInterfaces=False)[source]

Check configuration of drivers and resolve MAX_LEN and aply it on datapump and this interconnect

connectDrivers(drivers, datapump)[source]

Connect drivers to datapump using this component

getDpIntf(unit)[source]
reqHandler(dpReq, orderFifoIn)[source]
hwtLib.amba.interconnect.axiInterconnectbase.getSizeWidth(maxLen, dataWidth)[source]

hwtLib.amba.interconnect.rStricOrder module

class hwtLib.amba.interconnect.rStricOrder.RStrictOrderInterconnect[source]

Bases: hwtLib.amba.interconnect.axiInterconnectbase.AxiInterconnectBase

Strict order interconnect for AxiRDatapumpIntf ensures that response on request is delivered to driver which asked for it while transactions can overlap

_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
static _serializeDecision(parentUnit, obj, isDeclaration, priv)

Decide to serialize only objs with uniq parameters and class

Parameters:priv – private data for this function ({frozen_params: obj})
Returns:tuple (do serialize this object, next priv)
getDpIntf(unit)[source]

hwtLib.amba.interconnect.wStrictOrder module

class hwtLib.amba.interconnect.wStrictOrder.WStrictOrderInterconnect[source]

Bases: hwtLib.amba.interconnect.axiInterconnectbase.AxiInterconnectBase

Strict order interconnect for AxiWDatapumpIntf ensures that response on request is delivered to driver which asked for it while transactions can overlap

_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
static _serializeDecision(parentUnit, obj, isDeclaration, priv)

Decide to serialize only objs with uniq parameters and class

Parameters:priv – private data for this function ({frozen_params: obj})
Returns:tuple (do serialize this object, next priv)
ackHandler()[source]
getDpIntf(unit)[source]
wHandler()[source]

Module contents