Continue the discussion in:
https://simulide.forumotion.com/t1751-question-reset-pin-of-8051-mcu
I've did some test. Time calculation is easy to fix, but there are more issues:
- In connector's updateLines() method, the e-node of startPin() is checked for volt change. If the startPin is at a node, this check will fail, and the lines won't be updated.
- If a connector is connected to two nodes, it will not be updated.
- Some components like rail's volt never change. If a connector connects a rail and a node, it will never get update. This could be fixed by forcely redraw all the connectors when simulation start?
- If a rail's volt is changed by user through the prop dialog, the connector connected won't get updated.
Maybe there are more issues I not found and I think it's really complicated. So maybe we could just update all connection lines and don't check the volt change?
https://simulide.forumotion.com/t1751-question-reset-pin-of-8051-mcu
I've did some test. Time calculation is easy to fix, but there are more issues:
- In connector's updateLines() method, the e-node of startPin() is checked for volt change. If the startPin is at a node, this check will fail, and the lines won't be updated.
- If a connector is connected to two nodes, it will not be updated.
- Some components like rail's volt never change. If a connector connects a rail and a node, it will never get update. This could be fixed by forcely redraw all the connectors when simulation start?
- If a rail's volt is changed by user through the prop dialog, the connector connected won't get updated.
Maybe there are more issues I not found and I think it's really complicated. So maybe we could just update all connection lines and don't check the volt change?