If you use always blocks...
Use at least 2 of them
Avoid embedding output logic into state block
Use an output always
Use a state always
Not an issue with Mealy machines
Must use 2 always with Mealy
Because output can change at any time
Previous slide
Next slide
Back to first slide
View graphic version