1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/include/villas/fpga/switch.h

21 lines
No EOL
737 B
C

/** AXI Stream interconnect related helper functions
*
* These functions present a simpler interface to Xilinx' AXI Stream switch driver (XAxis_Switch_*)
*
* @file
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
* @copyright 2015-2016, Steffen Vogel
* This file is part of S2SS. All Rights Reserved. Proprietary and confidential.
* Unauthorized copying of this file, via any medium is strictly prohibited.
**********************************************************************************/
#ifndef _SWITCH_H_
#define _SWITCH_H_
#include <xilinx/xaxis_switch.h>
int switch_init(XAxis_Switch *sw, char *baseaddr, int micnt, int sicnt);
int switch_connect(XAxis_Switch *sw, int mi, int si);
#endif /* _SWITCH_H_ */