clash-lang / clash-prelude

CLaSH prelude library containing datatypes and functions for circuit design
http://www.clash-lang.org/
Other
31 stars 27 forks source link

Add Medvedev-style machine? #80

Closed ggreif closed 7 years ago

ggreif commented 8 years ago

https://en.wikipedia.org/wiki/Finite-state_machine#Hardware_applications

It is just a Moore machine without any output logic:

medvedev transfer start = moore transfer id start

But it comes up often, so it is probably a worthwhile addition.

ggreif commented 8 years ago

Should I come up with a pull request?

christiaanb commented 8 years ago

Yes, submit a PR please. the Moore module is probably the best place for it.

ggreif commented 8 years ago

Okay, see PR #81