> 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
That is intentional. Basically, all SimObjects are containers for other objects whether or not there are specified parameters for them. Anything else must be a parameter. Nate _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
