2023-09-08 11:35:18 +02:00
|
|
|
/* AXI General Purpose IO (GPIO)
|
2020-06-11 15:58:02 +02:00
|
|
|
*
|
2023-01-07 17:20:15 +01:00
|
|
|
* Author: Steffen Vogel <post@steffenvogel.de>
|
2023-01-07 17:32:48 +01:00
|
|
|
* SPDX-FileCopyrightText: 2017 Steffen Vogel <post@steffenvogel.de>
|
2023-01-07 17:20:15 +01:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2023-09-08 11:35:18 +02:00
|
|
|
*/
|
2020-06-11 15:58:02 +02:00
|
|
|
|
|
|
|
#include <villas/plugin.hpp>
|
|
|
|
|
|
|
|
#include <villas/fpga/ips/gpio.hpp>
|
|
|
|
|
2020-06-14 22:11:15 +02:00
|
|
|
using namespace villas::fpga::ip;
|
2020-06-11 15:58:02 +02:00
|
|
|
|
2024-02-29 19:34:27 +01:00
|
|
|
bool Gpio::init() {
|
|
|
|
//const uintptr_t base = getBaseAddr(registerMemory);
|
2020-06-11 15:58:02 +02:00
|
|
|
|
2024-02-29 19:34:27 +01:00
|
|
|
return true;
|
2020-06-11 15:58:02 +02:00
|
|
|
}
|
|
|
|
|
2022-12-02 18:46:00 +01:00
|
|
|
static char n[] = "gpio";
|
|
|
|
static char d[] = "Xilinx's AXI4 general purpose IO";
|
|
|
|
static char v[] = "xilinx.com:ip:axi_gpio:";
|
|
|
|
static CorePlugin<Gpio, n, d, v> f;
|