inda19plusplus / logik

Logisim clone
MIT License
2 stars 5 forks source link

Simulation worlds and sub-assemblies #8

Open NogginBops opened 4 years ago

NogginBops commented 4 years ago

When dealing with sub-assemblies the idea of viewing the state for a particular instance of a sub-assembly becomes very useful. But how this is done might feel more convoluted that necessary.

Logisim uses the idea of a hierarchy for the current simulation where you can select specific instances to inspect. image

This is something we have to deal with in our simulations too.

What I would change is that in the "assembly browser" we always open a new state instead of opening the last viewed instance.

weerox commented 4 years ago

Does a state need to save anything other than the state of wires and input/output pins (on, off, floating, error) and substates?