I don't know if you read Brad's reply on my mail on functional accesses. I was thinking of trying to make each sequencer aware of the all controllers that exist in the system. Since these controllers are created in the python file associated with each protocol, I was thinking whether it is possible to add those controllers to the sequencer from within those python files. But it seems that it is not required at all.

Thanks
Nilay

On Mon, 7 Mar 2011, Steve Reinhardt wrote:

Right now it may only be documented in the ASPLOS tutorial slides.
Basically you don't generally access c++ data from python, you just set up
parameters in python that are accessible from C++.  If you want to do
something fancier you have to do your own SWIG wrapping, which I'm guessing
is not what you're wanting (but speak up if you disagree).

Steve

On Mon, Mar 7, 2011 at 3:27 PM, Nilay Vaish <ni...@cs.wisc.edu> wrote:

Suppose I add a data member to the Sequencer class. How can I access this
data member in configs/ruby/*.py? I am not able to figure out how the Python
classes are related to the C++ classes.

--
Nilay
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev


_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to