rohd icon indicating copy to clipboard operation
rohd copied to clipboard

Improving the `StateMachine` view in `vcd`

Open chykon opened this issue 2 years ago • 1 comments

Motivation

When viewing vcd StateMachine is split into sequential and combinational, which introduces a bit of chaos due to the lack of context. It is better to let the user immediately see which module these blocks belong to.

Снимок экрана от 2023-03-18 17-02-41

Desired solution

  1. Generate the statemachine module, inside which the sequential and combinational blocks will be located.
  2. Add the ability to set a name for StateMachine (the default value can be statemachine).

Alternatives considered

No response

Additional details

No response

chykon avatar Mar 20 '23 09:03 chykon

Great suggestion. I think something similar might be nice for Pipeline as well.

As a note, it will require a little overhead in the implementation to properly generate inputs and outputs to the new module. For example, instead of passing List<Conditional>s directly into the Combinational blocks, they will have to be recreated using inputs and outputs of the module.

mkorbel1 avatar Mar 27 '23 22:03 mkorbel1