My Project  v0.0.16
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
Configurator3g Class Reference

Public Member Functions

Static Public Member Functions

Private Attributes

Static Private Attributes

Detailed Description

Helper class to configure MP7 buffers in an almost human understandable way

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  mode,
  play = (0x0,0x400),
  cap = (0x0,0x400) 
)

Member Function Documentation

◆ assignRxTx()

def assignRxTx (   self,
  data 
)

◆ boardmode()

def boardmode (   self)

◆ bxrange2words()

def bxrange2words (   start_bx,
  end_bx,
  bufsize,
  generics 
)
static

◆ configure()

def configure (   self,
  controller 
)
Applies the requested configuration to the buffers
It should be modified wo work with MP7 tester directly, but I fear circular dependencies

Args:
    ctrl: MP7Ctrl node

◆ getrange()

def getrange (   self,
  mode 
)

◆ modes()

def modes (   cls)

◆ withBXRange()

def withBXRange (   cls,
  tester,
  mode,
  playbx = ( 0x0, 0xa0 ),
  capbx = ( 0x0, 0xa0 ) 
)

Member Data Documentation

◆ _cap

_cap
private

◆ _log

_log = logging.getLogger('Configurator3g')
staticprivate

◆ _mode

_mode
private

◆ _modes

dictionary _modes
staticprivate
Initial value:
= {
'latency': ('latency', 'latency'), # L1 capture
'captureRx': ('capture', 'latency'), #
'captureTx': ('latency', 'capture'), #
'captureRxTx': ('capture', 'capture'), #
'algoPlay': ('playonce', 'capture'),
'algoPatt': ('pattern', 'capture'),
'loopPlay': ('capture', 'playonce'),
'loopPatt': ('capture', 'pattern'),
}

◆ _play

_play
private

The documentation for this class was generated from the following file: