Hi,

>> I create a net, add some pins and after simulating some steps a delete
>> the net and run in an endless loop. Unregister of a net will not work as
>> expected but the code is modified a lot so I have to start reading it
>> from start.
> 
> Could you give a example code. Or maybe, there are some python examples,
> which use Pin and Net. It's also possible, that something is missed in
> simulavr.i, because unmaintained. Look also to src/python/pysimulavr.i!
> If any questions, ask!


Please look at the testcase from today. You simply can run it with

make go

from
regress/gtest

 directory if you have gtest1.6.0 copied to the directory which
configured in the Makefile.

Again: No tcl or python needed. This is local to simulavr only!

you can simply run also ut in gdb/ddd an will see an endless loop in
Unregister... something. The code looks very "misterious" to mee,
because the net calls a delete from a pin which should unregister itself
to the net.... something like ping pong with unclear responsibility's to
the objects. The information which objects is registered where is hold
twice ( and maybe with to different and unrelated semantics ).

This part is new and maybe untested at all...

 Regards
 Klaus


_______________________________________________
Simulavr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/simulavr-devel

Reply via email to