avl_axi._msequence module

class avl_axi._msequence.ManagerSequence(*args, **kwargs)[source]
Parameters:
__init__(name, parent)[source]

Initialize the sequence

Sequence of independently randomized Manageractions

Parameters:
  • name (str) – Name of the sequence item

  • parent (Component) – Parent component of the sequence item

Return type:

None

i_f

Handle to interface - defines capabilities and parameters

n_items

Number of items in the sequence (default 1)

wait_for

Default phase to wait on after a item sent to driver before next item

done_cb(*args, **kwargs)[source]

Callback on item done event

Parameters:
  • args – Arguments

  • kwargs – Keyword arguments

control_cb(*args, **kwargs)[source]

Callback on item control event

Parameters:
  • args – Arguments

  • kwargs – Keyword arguments

data_cb(*args, **kwargs)[source]

Callback on item data event

Parameters:
  • args – Arguments

  • kwargs – Keyword arguments

response_cb(*args, **kwargs)[source]

Callback on item response event

Parameters:
  • args – Arguments

  • kwargs – Keyword arguments

async next()[source]

Get the next item in the sequence

Return type:

SequenceItem

async write(**kwargs)[source]

Send a write item to the driver

Parameters:

kwargs – Keyword arguments to set on the item

Returns:

The item sent

Return type:

WriteItem

async read(**kwargs)[source]

Send a read item to the driver

Parameters:

kwargs – Keyword arguments to set on the item

Returns:

The item sent

Return type:

ReadItem

async body()[source]

Body of the sequence

Return type:

None