From 1d0b5e9e9d5086ecf4680b135e74f3af9c7b0d54 Mon Sep 17 00:00:00 2001 From: Patrick Huesmann Date: Thu, 11 Apr 2024 11:39:06 +0200 Subject: [PATCH] wip: plddr axi test --- example/demo_cpp/src/axi_dma_demo.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/example/demo_cpp/src/axi_dma_demo.cpp b/example/demo_cpp/src/axi_dma_demo.cpp index b32a6889..e589a75e 100644 --- a/example/demo_cpp/src/axi_dma_demo.cpp +++ b/example/demo_cpp/src/axi_dma_demo.cpp @@ -17,6 +17,7 @@ #include "DataHandlerPrint.hpp" #include "UioGpioStatus.hpp" #include "UioTrafficGen.hpp" +#include "udmaio/FpgaMemBufferOverAxi.hpp" #include "udmaio/FpgaMemBufferOverXdma.hpp" #include "udmaio/Logging.hpp" #include "udmaio/UDmaBuf.hpp" @@ -119,7 +120,10 @@ int main(int argc, char* argv[]) { std::unique_ptr udmabuf; if (mode == DmaMode::UIO) { - udmabuf = std::make_unique(); + UioDeviceLocation plddr_test{"plddr-axi-test", {}}; + + // udmabuf = std::make_unique(); + udmabuf = std::make_unique(plddr_test); } else { udmabuf = std::make_unique(dev_path, target_hw_consts::fpga_mem_phys_addr);