1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

add member and getter for baseaddress

Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
This commit is contained in:
Pascal Bauer 2024-07-18 10:07:35 +00:00 committed by Niklas Eiling
parent 54796d11b2
commit 81f8981783

View file

@ -107,6 +107,7 @@ protected:
virtual std::list<MemoryBlockName> 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<std::string, MemoryManager::AddressSpaceId> busMasterInterfaces;
size_t baseaddr = 0;
};
class CoreFactory : public plugin::Plugin {