MEM: Remove the functional ports from the memory system
The functional ports are no longer used and this patch cleans up the legacy that is still present in buses, memories, CPUs etc. Note that this does not refer to the class FunctionalPort (already removed), but rather ports with the name (and use) functional.
This commit is contained in:
8
src/mem/cache/cache_impl.hh
vendored
8
src/mem/cache/cache_impl.hh
vendored
@@ -103,13 +103,7 @@ Cache<TagStore>::getPort(const std::string &if_name, int idx)
|
||||
return cpuSidePort;
|
||||
} else if (if_name == "mem_side") {
|
||||
return memSidePort;
|
||||
} else if (if_name == "functional") {
|
||||
CpuSidePort *funcPort =
|
||||
new CpuSidePort(name() + "-cpu_side_funcport", this,
|
||||
"CpuSideFuncPort");
|
||||
funcPort->setOtherPort(memSidePort);
|
||||
return funcPort;
|
||||
} else {
|
||||
} else {
|
||||
panic("Port name %s unrecognized\n", if_name);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user