FIFONode#

class FIREQ_SYSTEM.fifo_node.FIFONode(*args: Any, **kwargs: Any)[source]#

Bases: _GenericNode

Object representing an AXI-Stream FIFO.

Configuration dictionary keys:

  • _name (str): Name of the FIFO node instance.

  • _ll_handler (FIFOWrapper): Low-level FIFO wrapper handler.

nodetype = 'acquisition_fifo'#
wraps = ['FIFOWrapper']#
update_max_hw_shots() → bool[source]#

Calculate the maximum number of shots that can be stored in the FIFO.

Depends on the input payload, and modifies max_hw_shots

Returns:

True if the maximum number of hardware shots changed, False otherwise

Return type:

bool

update_payload() → bool[source]#

Update FIFO payload based on the input node payload and the number of shots.

Returns:

True if the payload has changed since the last call, False otherwise

Return type:

bool