Hi,

Please use the mailing list for such matters instead of private emails.

On 02/03/2014 11:24 PM, Brian McLaughlin wrote:
> Problem is, I am getting an assertion failure

What assertion?

> when I try to simulate the ripple carry and it looks like it is trying
> to execute the do_simulate method for the FullAdder module too.

Yes, as it should, but I don't see how that would cause an assertion
failure.

> Is there
> any way to indicate that the simulator should only run the top-level
> fragment's do_simulation and not sub-modules?

No, but you can structure your code so that it is not a problem; for
example, remove do_simulation from FullAdder, and have a FullAdderTB
that has FullAdder as a submodule (named e.g. "dut" for Device Under
Test) and the do_simulation method.

Sébastien

_______________________________________________
Devel mailing list
[email protected]
https://ssl.serverraum.org/lists/listinfo/devel

Reply via email to