Searched hist:8840 (Results 1 - 2 of 2) sorted by relevance
/gem5/src/python/m5/ | ||
H A D | params.py | diff 8840:b62d40514d98 Mon Feb 13 06:45:00 EST 2012 Andreas Hansson <andreas.hansson@arm.com> MEM: Pass the ports from Python to C++ using the Swig params This patch adds basic information about the ports in the parameter classes to be passed from the Python world to the corresponding C++ object. Currently, the only information passed is the number of connected peers, which for a Port is either 0 or 1, and for a VectorPort reflects the size of the VectorPort. The default port of the bus had to be renamed to avoid using the name "default" as a field in the parameter class. It is possible to extend the Swig'ed information further and add e.g. a pair with a description and size. |
H A D | SimObject.py | diff 8840:b62d40514d98 Mon Feb 13 06:45:00 EST 2012 Andreas Hansson <andreas.hansson@arm.com> MEM: Pass the ports from Python to C++ using the Swig params This patch adds basic information about the ports in the parameter classes to be passed from the Python world to the corresponding C++ object. Currently, the only information passed is the number of connected peers, which for a Port is either 0 or 1, and for a VectorPort reflects the size of the VectorPort. The default port of the bus had to be renamed to avoid using the name "default" as a field in the parameter class. It is possible to extend the Swig'ed information further and add e.g. a pair with a description and size. |
Completed in 56 milliseconds