> Now that I checked, it looks like that's pretty much what you already do > with the existing .py files in arch/x86/isa/insts. So I guess we could > just extend that to any other .py files that get created.
Assuming that import statements are not inside functions and with a custom importer, one could figure this out without too much trouble. We could also pretty trivially create a scanner for python. The issue then is just figuring out the mapping of python module to filename, but that should be pretty trivial and I think scons knows the details anyway. Nate _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
