Re: [myhdl-list] Module uses globals
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2015-04-15 20:29:46
|
<snip> >>> >>> This totally defeats the beauty of object orientation in Python. For >>> example you cannot have two instances of a Simulation() at the same time. >> >> What is the rationale for more than one simulation >> running at a time? Why have two simulators running? >> > > What is great about having a HDL simulation within a full blown language > like Python is the possibility of doing unconventional things. Some that I > can think of are, first, running a same model in delayed and asynchronous > versions, with a controlled, time varying delay and comparing states. Sure, folks have experiment with aysnc simulations before but did not require two simulation instances. > Another is bifurcation, this is, generating a copy of a model and > simulation at some time instant and comparing the two based on some > asymmetry, potentially generating copies throughout the simulation and > discarding them when not needed. Things like this are useful in stability > analysis of non-linear mixed-signal circuits. > You can still break up the design, typically the testbench and models have a lot going on independent of the design. I still don't see the need for two simulation instances? I can simulate two complete unrelated designs at the same time but in the same Simulation instance. I am not understanding the need for multiple simulation instances. Regards, Chris |