-
Adding a "quit()" method would be great actually.
2009-10-06 19:12:21 UTC by lemasle
-
Anonymous committed revision 1084 to the MyHDL Mercurial repository, changing 1 files.
2009-10-06 12:02:37 UTC by nobody
-
Ok, I think I understand the problem. It seems you run the simulation for a fixed duration. In that case, the simulation object remains alive, because such a simulation may be resumed.
The workaround would be to stop the simulation explicitly when you're done with "raise StopSimulation" and run it for an indefinite duration.
If that is not acceptable, I would have to add a method, e.g...
2009-09-26 07:14:40 UTC by jandecaluwe
-
Anonymous committed revision 1083 to the MyHDL Mercurial repository, changing 1 files.
2009-09-17 13:37:40 UTC by nobody
-
Hi,
Sorry I over-simplified the problem. Actually I figured out that this problem is the consequence of my call to __del__ to prevent a Cosimulation Error appearing under the following conditions:
foo.v:
module foo(
input clock_i,
input foo,
output bar
);
endmodule
foo_dut.v:
module foo_dut(
);
reg clock_i;
reg foo;
wire bar;
initial begin...
2009-08-23 21:31:06 UTC by lemasle
-
I don't understand. Why would you create multiple cosimulation objects without running them? Each cosimulation object keeps its pipes open until done, so it's logical that you reach the limit. Calling __del__ on Cosimulation is a hack that mask the real issue, which is that you can't have multiple cosimulation objects.
2009-08-23 13:41:38 UTC by jandecaluwe
-
Hello,
When running some Cosimulation tests for a Verilog module I am developing, I figured out a problem. If you run too many Cosimulations one after the other, an OSError is raised after a while (basically my OS limit on open files for a process).
Here is an example reproducing the bug.
VERILOG MODULE:
module foo(
input foo,
output bar
);
INSTANTIATION:
module...
2009-08-12 18:57:47 UTC by lemasle
-
Anonymous committed revision 1082 to the MyHDL Mercurial repository, changing 1 files.
2009-07-25 09:07:24 UTC by nobody
-
Anonymous committed revision 1081 to the MyHDL Mercurial repository, changing 1 files.
2009-07-25 07:04:02 UTC by nobody
-
jandecaluwe changed the public information on the MyHDL project.
2009-07-03 01:35:43 UTC by jandecaluwe