flandreas / antares

Digital circuit learning platform
49 stars 6 forks source link

Explain grayed-out scripted subcircuit during simulation #694

Closed flandreas closed 7 months ago

flandreas commented 8 months ago

If you have a scripted subcircuit, and you run the simulation in shallow mode, Antares renders the subcircuit grayed-out to indicate that it can't display signal states, because the subcircuit's elements are not simulated. The execution script simply recalculates the outputs based on the input values. This might be confusing to some users.

Therefore, display a text in this case that says something like "No inner signal values with shallow simulation", either as tooltip on the subcircuit window, or displayed as a permanent toast message near the top or bottom window edge.

Show this message only if the user preference "Show tips for beginners" is selected.