Abstract:
Based on an example, the character of different FSMs coding style (one always, two always, three always) and different state encoding (Binary-code, Gray-code, One-hot code) is introduced;their effect on performance and reliability of FSMs is analyzed.Then, the area, speed and the power result of Xilinx ISE synthesis and Design Compiler synthesis is given to analyze the best coding style.That is one always style should be abandoned;two always style suit to Moore FSMs;three always style suit to Mealy FSMs.And the state encoding which appropriate to the design is given.