??? 11/30/09 20:25 Read: times |
#171327 - Mealy vs Moore Responding to: ???'s previous message |
Jez Smith said:
Sadly the use of VHDL and Verilog has removed the need to understand much more than the differences between Moore and Mealey state machines Every FPGA design I've ever done, and will probably do, has at least one state machine. I cannot tell you whether these machines are Mealy, Moore or Manchurian. And it really doesn't matter. Teaching Mealy vs Moore state machines forces the engineer to fit some academic paradigm that has no real world benefit. All of my state machines have synchronized inputs and have registered outputs. State transitions are based on whatever's necessary. Sometimes the machine is in one state and skips right to the next state. Sometimes it'll spin in one state, waiting for a counter to expire. Sometimes it'll spin in one state, waiting for some external process to set a flag. Whatever makes the most sense for the task at hand. One thing I NEVER do and NEVER recommend is the use of the two-process (or God forbid, three-process!) state machine, the sort with a clocked process for output registering and current-state update, and a second combinatorial process for handling state transitions and new output assignment. Those are simply unmaintainable and a recipe for disaster. you don't really even have to understand anything about DeMorgan's theorem or delve into the philosophy of logic because the complier sorts it all out for you, which is a real shame I think because its an interesting subject. An intern once asked me about Karnaugh maps. I said, with a straight face, "I have a computer that does that for me!" Doing logic minimization by hand is certainly a worthy skill if you're going to write a synthesis tool. -a |
Topic | Author | Date |
Looking for suggested text book on logic design | 01/01/70 00:00 | |
I guess, ... | 01/01/70 00:00 | |
German textbook | 01/01/70 00:00 | |
my old favorite, the title say it all | 01/01/70 00:00 | |
Hurley | 01/01/70 00:00 | |
a relation? | 01/01/70 00:00 | |
thanks | 01/01/70 00:00 | |
best suggestion | 01/01/70 00:00 | |
You might be able to find the old PALASM on the www | 01/01/70 00:00 | |
Tokheim in a heartbeat | 01/01/70 00:00 | |
Hhhhmmm | 01/01/70 00:00 | |
Mealy vs Moore | 01/01/70 00:00 | |
ah ha well....![]() | 01/01/70 00:00 |