m-labs / migen

A Python toolbox for building complex digital hardware
https://m-labs.hk/migen
Other
1.23k stars 210 forks source link

Signal Names of FSM #247

Open navaneeth-cirel opened 3 years ago

navaneeth-cirel commented 3 years ago

Hi,

The code generated of FSM does not capture the FSM() object name (similar to Signal()), due to this the traces in VCD file has signal names like fsm0, fsm1 etc. is it possible to have the FSM generate named signals based on the object name? This will help in identifying the different FSM's states when there are multiple FSMs instantiated.

Thanks Navaneeth