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:
William Wang
2012-01-17 12:55:09 -06:00
parent 07cf9d914b
commit e731cf4c1d
5 changed files with 3 additions and 37 deletions

View File

@@ -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);
}
}