antares
antares copied to clipboard
Joining wires can lead to corrupt pin connections
This can be caused by joining open-ended wires or deleting wire junctions. Leads to pins not properly connected to the net of the wire, which results in simulation not working as expected.
Detected in #713.
Thanks for taking care of this! I tested it on the head of master and now this one reproduces a malfunction:
https://github.com/flandreas/antares/assets/5798899/2a94cfaa-e727-4d32-9f64-0b7f0752bacc
Thanks! Reopened
Cannot be reproduced generally with a simple circuit having the same structure like the problematic region like in the video.
However, it CAN be reproduced using the dump provided in #713 with exactly the wire segment you've deleted. I'll investigate..
Reproducible when deleting the selected wire in this simplified circuit:
The problem occurs when the wire that gets joined is connected with yet another junction node.
Great find, I think all instances in which I've encountered this bug previously were related to long wire junction ladders like this.
Unfortunately I think I've introduced this one with my last fix. The scenario above isn't reproducible in the productive version 1.11.1.