1031b824b9
This patch moves all port creation from the getPort method to be consistently done in the MemObject's constructor. This is possible thanks to the Swig interface passing the length of the vector ports. Previously there was a mix of: 1) creating the ports as members (at object construction time) and using getPort for the name resolution, or 2) dynamically creating the ports in the getPort call. This is now uniform. Furthermore, objects that would not be complete without a port have these ports as members rather than having pointers to dynamically allocated ports. This patch also enables an elaboration-time enumeration of all the ports in the system which can be used to determine the masterId. |
||
---|---|---|
.. | ||
alpha | ||
arm | ||
generic | ||
mips | ||
noisa | ||
power | ||
sparc | ||
x86 | ||
isa_parser.py | ||
micro_asm.py | ||
micro_asm_test.py | ||
SConscript |