AXIStreamSwitchDriver#

class FIREQ_LL_API.AXIStreamSwitchDriver(*args: Any, **kwargs: Any)[source]#

Bases: DefaultIP

Driver class for the switch IP.

Provides methods to set the direction of the switch.

bindto = ['xilinx.com:ip:axis_switch:1.1']#
set_logger(new_logger: Logger) → None[source]#

Set the logger for this object.

Parameters:

new_logger (logging.Logger) – Logger object to use

property slave_number_to_interface_map: dict#

The map between the slave number sand the slave interface name.

switch_to_input(input_number: int = 0) → int[source]#

Switch the switch to the selected input.

NOTE: The input number is 1-based, i.e. the first input is 1.

Parameters:

input_number (int) – Input number to switch to

Returns:

Error code (0 on success)

Return type:

int