My Project  v0.0.16
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
MP7Controller Class Reference
Inheritance diagram for MP7Controller:
Inheritance graph
[legend]
Collaboration diagram for MP7Controller:
Collaboration graph
[legend]

Public Member Functions

Public Attributes

Static Public Attributes

Private Member Functions

Private Attributes

Static Private Attributes

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  board,
  links = None 
)
Creator. If links is None, an attempt to autodiscover the active links is done.

Member Function Documentation

◆ __str__()

def __str__ (   self)

◆ _buildNodes()

def _buildNodes (   self)
private

◆ _buildRegions()

def _buildRegions (   self,
  links = None 
)
private
Discover the links instanciated in the firmware.

◆ alignLinks()

def alignLinks (   self,
  secondary = False,
  orbitTag = False,
  fixlatency = None 
)
 

◆ captureAndDump()

def captureAndDump (   self,
  path,
  data_rx = None,
  data_tx = None,
  capture = True 
)
if cap_depth is 0x0 or none, don't capture

◆ checkLinks()

def checkLinks (   self)
Test all the MGTs for CRC and alignment errors.

◆ checkTTC()

def checkTTC (   self)

◆ clearBuffers()

def clearBuffers (   self,
  data_rx = None,
  data_tx = None,
  forceclear = False 
)
Clears the Rx/Tx buffers

Args:
    data_rx:
    data_tx:

◆ clearCounters()

def clearCounters (   self)

◆ configureClocking()

def configureClocking (   self,
  clkOpt,
  extClk40Src 
)

◆ configureHdrFormatter()

def configureHdrFormatter (   self,
  strip,
  insert 
)

◆ configureLinks()

def configureLinks (   self,
  loopback = False 
)
Configure and align MGTs.

◆ configureTTC()

def configureTTC (   self,
  ttcEnable,
  bc0Internal 
)

◆ deleteFromSD()

def deleteFromSD (   self,
  filename 
)

◆ dispatch()

def dispatch (   self)

◆ dump()

def dump (   self,
  path 
)

◆ enableChanAlignment()

def enableChanAlignment (   self)
Enable alignment for channels belonging to the active quads.

◆ fileFromSD()

def fileFromSD (   self,
  filepath,
  filename 
)

◆ fileToSD()

def fileToSD (   self,
  filepath,
  filename 
)

◆ generics()

def generics (   self)

◆ hardReset()

def hardReset (   self)

◆ log()

def log (   self)

◆ measureRefClocks()

def measureRefClocks (   self)

◆ minipodSensors()

def minipodSensors (   self)

◆ name()

def name (   self)

◆ printId()

def printId (   self)

◆ readBuffers()

def readBuffers (   self)

◆ readGenerics()

def readGenerics (   self)

◆ rebootFPGA()

def rebootFPGA (   self,
  filename 
)

◆ reset()

def reset (   self,
  clkOpt,
  extClk40Src = True,
  overrideBC0 = False 
)
Reset the board status and configure clocking.

◆ resetPayload()

def resetPayload (   self)

◆ scanSD()

def scanSD (   self)

◆ scanTTCPhase()

def scanTTCPhase (   self,
  start = 0x0,
  stop = 0x540 
)

◆ setDummySensor()

def setDummySensor (   self,
  value 
)

◆ setupTx2RxOrbitPattern()

def setupTx2RxOrbitPattern (   self)
Configures the MP7 buffers for Tx->Rx pattern  

◆ setupTx2RxPattern()

def setupTx2RxPattern (   self)
Configures the MP7 buffers for Tx->Rx pattern 

Member Data Documentation

◆ __repr__

def __repr__ = __str__
staticprivate

◆ _bufferRegionsIds

_bufferRegionsIds
private

◆ _generics

_generics
private

◆ _log

_log = logging.getLogger('MP7Controller')
staticprivate

◆ _mgtRegionsIds

_mgtRegionsIds
private

◆ _regionsIds

_regionsIds
private
Discover the links instanciated in the firmware.

◆ align

align

◆ board

board
Creator. If links is None, an attempt to autodiscover the active links is done.

◆ buf

buf

◆ bufferGroup

bufferGroup

◆ clocking

clocking

◆ ctrl

ctrl

◆ datapath

datapath

◆ firmware

firmware = mmc.FileFromSD(filename)
static

◆ fmt

fmt

◆ fwByteArray

fwByteArray = bytearray(firmware.Bitstream())
static

◆ mgtGroup

mgtGroup

◆ mgts

mgts

◆ mmc

mmc = self.mmcPipe
static

◆ mmcPipe

mmcPipe

◆ ofile

ofile = open(join(filepath,filename),'wb')
static

◆ si5326

si5326

◆ ttc

ttc

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