Hello Patrick,
here is a short way to convert a FSM encoding to a binary representation for an
FPGA internal logic analyzer:
Thanks for the suggestion, it seems to me less error prone than using
select with.
You can go even a step further and convert every enum member name into a string
and write it as a Token-file
to disk for importing it into your logic analyzer, to it will display names
instead of binary state values
I didn't know that was possible. That's interesting, but I don't think I
need to go that far ;).
As pointed out there are existing proposals. Maybe one is already close to your
ideas / imagination, then there is no need to write a new one. Just add your
thoughts or propose improvements or contact the author to review / enhance his
proposal.
Hum, it looks like my proposition is a mix between 2 proposals :
ArbitraryIntegers and ModularTypes. Maybe it is closer to
ArbitraryIntegers . And by the way I have dropped the idea of the 'Logic
attribute. Yes I think I will contact the author of ArbitraryIntegers.
Bye,
Jonas
_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss