|
My Project
v0.0.16
|
Public Member Functions |
Private Attributes |
Static Private Attributes |
Helper class to deal with datapath configuration From the user perspective, each channel datapath is configurable in the following modes - 'latency' - 'capture' - 'playonce' - 'playloop' - 'pattern' - 'zeroes' On the other hand datapath for each channel is configured in terms of - buffer mode - data source - bx that triggers data-valid high - number of valid words PathConfigurator translates the mode into the buffer mode + data source and applies them to the block
| def __init__ | ( | self, | |
| mode, | |||
| trig_bx, | |||
| max_words | |||
| ) |
Args:
mode(string): mode to be applied to the datapath
trig_bx(int): bunch crossing before the first frame with datavalid=1
max_words(int):
| def __call__ | ( | self, | |
| datapath | |||
| ) |
| def __str__ | ( | self | ) |
| def configure | ( | self, | |
| datapath | |||
| ) |
| def pathmode | ( | self | ) |
| def withBXRange | ( | cls, | |
| mode, | |||
| bxrange, | |||
| generics | |||
| ) |
Construct a PathConfigurator object using bunch crossign range as input. Args:
|
private |
|
private |
|
staticprivate |
|
private |
1.8.13