/** FIFO related helper functions * * These functions present a simpler interface to Xilinx' FIFO driver (XLlFifo_*) * * @file * @author Steffen Vogel * @copyright 2017, Steffen Vogel **********************************************************************************/ /** @addtogroup fpga VILLASfpga * @{ */ #pragma once #include #include #include struct fifo { XLlFifo inst; uint32_t baseaddr_axi4; }; /* Forward declarations */ struct ip; int fifo_start(struct fpga_ip *c); ssize_t fifo_write(struct fpga_ip *c, char *buf, size_t len); ssize_t fifo_read(struct fpga_ip *c, char *buf, size_t len); /** @} */