On 11/09/10 08:15, nathan binkert wrote:
>>  This code was apparently never called before, and I think I landed on
>> it by accident. Could there be anything else like that? Maybe we should
>> put together a test configuration?
> Do you know what you did to exercise it?  I don't recall writing this
> code.  Steve, do you remember what it's doing?
>
>   Nate
> _______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev

Not really. I think it was the result of a bug in my script which I've
since fixed. I -think- what it might have been was that I was missing an
"global" so I had a SimObject that was a local variable that went out of
scope.

Also, while we're on the topic, I tried to stick a non-simobject,
non-parameter value into a simobject just to keep track of it, and it
didn't work. This was surprising and took me a little while to figure
out since that works just fine if you stick an abitrary simobject to it.
Is that intentional? It's something like this, although I didn't
specifically verify this code does what I think it does/seemed to be doing.

Root root()
tlb = Tlb()
foo = 5

root.tlb = tlb # works fine since tlb is a simobject
root.foo = foo # chokes saying something about the "foo" parameter not
being part of root since foo isn't a simobject
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to