It works perfectly. Thanks!

Nilay

On Thu, 9 Dec 2010, Beckmann, Brad wrote:

Hi Nilay,

Yes, I believe a machine can be accessed within AST class functions, though I 
don't remember ever doing it myself.  Look at the generate() function in 
TypeFieldEnumAST.  Here you see that the machine (a.k.a StateMachine) is 
grabbed from the symbol table and then different StateMachine functions are 
called on it.  You can imagine adding a new function to StateMachine.py that 
returns whether the TBETable exists.

That seems like it should work to me, but let me know if it doesn't.

Brad





_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev


_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to