Re: [myhdl-list] Global state and multiple instances
Brought to you by:
jandecaluwe
From: Juan P. C. <jp...@gm...> - 2015-05-06 17:07:19
|
Attempting to make the global calls in user code local to the Simulation instance. The example in StackOverflow shows how the calls to, say, a global now(), can be replaced by a local instance, self.now(). This avoids any complicated lookups that would degrade performance, and maintains the syntax used by the user. Thanks, JP On Wed, May 6, 2015 at 12:59 PM, Henry Gomersall <he...@ca...> wrote: > On 06/05/15 14:34, Juan Pablo Caram wrote: > > Is there any interest in pursuing the solution that I was proposing? > > > http://stackoverflow.com/questions/30061421/change-reference-to-function-in-run-time-in-python > > I'm not quite sure what solution you're proposing... > > Henry > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > myhdl-list mailing list > myh...@li... > https://lists.sourceforge.net/lists/listinfo/myhdl-list > |