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

lib/ip: cleanup formatting and comments of IpCore's member variables

This commit is contained in:
Daniel Krebs 2018-02-13 16:38:51 +01:00 committed by Steffen Vogel
parent e66350dbf6
commit 503d6b7f07

View file

@ -150,14 +150,20 @@ protected:
InterruptController*
getInterruptController(const std::string& interruptName);
protected:
virtual std::list<std::string> getMemoryBlocks() const { return {}; }
/// Each IP can declare via this function which memory blocks it requires
virtual std::list<std::string>
getMemoryBlocks() const
{ return {}; }
// populated by FpgaIpFactory
PCIeCard* card; ///< FPGA card this IP is instantiated on
IpIdentifier id; ///< VLNV and name defined in JSON config
std::map<std::string, IrqPort> irqs; ///< Interrupts of this IP component
std::map<std::string, IpCore*> dependencies; ///< dependencies on other IPs
protected:
/// FPGA card this IP is instantiated on (populated by FpgaIpFactory)
PCIeCard* card;
/// Identifier of this IP with its instance name and VLNV
IpIdentifier id;
/// All interrupts of this IP with their associated interrupt controller
std::map<std::string, IrqPort> irqs;
/// Cached translations from the process address space to each memory block
std::map<std::string, MemoryTranslation> addressTranslations;