Re: [myhdl-list] Reusability and encapsulation
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2015-05-04 15:08:16
|
On 5/3/2015 11:11 AM, Juan Pablo Caram wrote: > You will at least get the error: > > TraceSignalsError: Cannot trace multiple instances simultaneously > > > if you try to run the line: > > Simulation(traceSignals(_test)).run() > > > a second time without restarting the kernel. The fourth code cell can be run multiple times without restarting the kernel. You are saying, if the line where Simulation(...) occurs is repeated twice it fails? print("call simulation first time ...") Simulation(traceSignals(_test)).run() print("call simulation second time ...") Simulation(traceSignals(_test)).run() It does not fail with the version I have? The above works fine. call simulation first time ... The note has a tone at 1200.000 and 4000.000 call simulation second time ... The note has a tone at 1200.000 and 4000.000 I am not following what fails and how? Regards, Chris |