178c178
< port = new MemoryPort(this);
---
> port = new MemoryPort(name() + "-port", this);
182c182
< return new MemoryPort(this);
---
> return new MemoryPort(name() + "-funcport", this);
193,194c193,195
< PhysicalMemory::MemoryPort::MemoryPort(PhysicalMemory *_memory)
< : memory(_memory)
---
> PhysicalMemory::MemoryPort::MemoryPort(const std::string &_name,
> PhysicalMemory *_memory)
> : Port(_name), memory(_memory)