Glossary

One-hot encoding

A state encoding that uses one flip-flop per state, with exactly one bit set at a time. It uses more flip-flops than binary encoding but often gives simpler, faster next-state logic in FPGAs.

Learn it in depthFinite state machines in SystemVerilogDesign Moore and Mealy state machines in SystemVerilog: enum states, two-process and one-process style, registered outputs, encoding and safe FSMs.

Related terms

← All glossary terms