From 81f89817831933433111b244f0b2fff31e58bf8f Mon Sep 17 00:00:00 2001 From: Pascal Bauer Date: Thu, 18 Jul 2024 10:07:35 +0000 Subject: [PATCH] add member and getter for baseaddress Signed-off-by: Pascal Bauer --- fpga/include/villas/fpga/core.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fpga/include/villas/fpga/core.hpp b/fpga/include/villas/fpga/core.hpp index 3968b5841..b2ac49453 100644 --- a/fpga/include/villas/fpga/core.hpp +++ b/fpga/include/villas/fpga/core.hpp @@ -107,6 +107,7 @@ protected: virtual std::list getMemoryBlocks() const { return {}; } public: + size_t getBaseaddr() const { return baseaddr; } const std::string &getInstanceName() const { return id.getName(); } // Operators @@ -201,6 +202,8 @@ protected: // AXI bus master interfaces to access memory somewhere std::map busMasterInterfaces; + + size_t baseaddr = 0; }; class CoreFactory : public plugin::Plugin {