From a93278b74eca04f57b7c72038d5ebd2140089191 Mon Sep 17 00:00:00 2001 From: Daniel Krebs Date: Mon, 4 Jun 2018 14:12:13 +0200 Subject: [PATCH] ips/dma: expose names of its treaming ports --- fpga/include/villas/fpga/ips/dma.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fpga/include/villas/fpga/ips/dma.hpp b/fpga/include/villas/fpga/ips/dma.hpp index fe8dd45ef..a321d8ba4 100644 --- a/fpga/include/villas/fpga/ips/dma.hpp +++ b/fpga/include/villas/fpga/ips/dma.hpp @@ -71,6 +71,10 @@ private: size_t writeCompleteSimple(); size_t readCompleteSimple(); +public: + static constexpr const char* s2mmPort = "S2MM"; + static constexpr const char* mm2sPort = "MM2S"; + bool isMemoryBlockAccesible(const MemoryBlock& mem, const std::string& interface); private: