How to Lock Globar Variables across Modules?
cut_me_out at hotmail.com
Wed Sep 27 18:47:34 CEST 2000
> In the main module, all the code will look like
> schedule (sv.current_time)
> But the same code in other modules will have to look like
> schedule (main_module.sv.current_time)
> I want something that is consistent across all the simulation modules.
Well, perhaps you could import the main_module into itself, so that you
can refer to main_module.sv in there as well. At least it'd be
Speak softly but carry a big carrot.
More information about the Python-list