MemNode
A simple implementation of MemNode is provided that implements SystemRDL mem components.
MemNode
MemNode is a template class that represents a mem component in SystemRDL.
It must be instantiated within an AddrmapNode.
template <uint32_t BASE, uint32_t SIZE, typename PARENT_TYPE>
class MemNode;
The template parameters are:
BASEis the base address offset within the containingAddrmapNode.SIZEis the size of the memory region in bytes.PARENT_TYPEis the type of the containingAddrmapNode.
Access methods
MemNode provides get() and set() methods for word-level access to the memory region.
All requests are forwarded to the parent node with the offset applied.