Digital icon indicating copy to clipboard operation
Digital copied to clipboard

Support for stepping in sub circuits

Open jorjiang opened this issue 1 year ago • 4 comments

when run simulation, i can only view the values on the current level, there is no way i can go deeper and see the state of the lower level sub circuits (which is provided by logism), it is really hard to do debugging on the graphical interface, after all this is what digital is all about right

jorjiang avatar Oct 29 '24 07:10 jorjiang

@holstvoogd

jorjiang avatar Dec 27 '24 09:12 jorjiang

This is the primary reason I can't use Digital for my complex CPU project. Instead I'm left using Logisim-Evolution, a slower and less-featured simulator.

Please consider this as a high-priority feature request.

prlaba avatar Dec 28 '24 17:12 prlaba

@prlaba Have you tried the probes? You can use them to display signals from sub-circuits, regardless of how deeply they are nested in sub-circuits. I use this for debugging, and in my opinion it works better than searching around in subcircuits, because all signals can be seen in one window/graph.

hneemann avatar Dec 29 '24 07:12 hneemann

I haven't but I will. My circuit hierarchy isn't all that deep, generally not more than 4 or 5 levels deep, so.

It's also important that I be able to pause the simulation, and resume it after correcting an error. Restarting the simulation is painful in some cases. But I believe you've resolved this issue, yes?

Thanks.

prlaba avatar Dec 29 '24 14:12 prlaba