Search: in
One-hot in Encyclopedia Encyclopedia
  Tutorials     Encyclopedia     Videos     Books     Software     DVDs  


In digital circuits, one-hot refers to a group of bits among which the legal combinations of values are only those with a single high (1) bit and all the others low (0). For example, the output of a decoder is usually a one-hot code, and sometimes the state of a state machine is represented by a one-hot code. A similar implementation in which all bits are '1' except one '0' is sometimes called one-cold.

For example, a ring counter that has fifteen sequentially-ordered states would have a 'one-hot' implementation of fifteen flip flops chained in series with the Q output of each flip flop connected to the D input of the next and the D input of the first flip flop connected to the Q output of the fifteenth flip flop. The first flip flop in the chain represents the first state, the second represents the second state, and so on to the fifteenth flip flop which represents the last state. Upon reset of the state machine all of the flip flops are reset to '0' except the first in the chain which is set to '1'. The next clock edge arriving at the flip flops advances the one 'hot' bit to the second flip flop. The 'hot' bit advances in this way until the fifteenth state after which the state machine returns to the first state.

Using a one-hot implementation typically allows a state machine to run at a faster clock rate than any other encoding of that state machine.[1]

External links

See also

cs:K d 1 z n de:1-aus-n-Code fr:Encodage one-hot pl:Kod 1 z n

Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article

Search for One-hot in Tutorials
Search for One-hot in Encyclopedia
Search for One-hot in Videos
Search for One-hot in Books
Search for One-hot in Software
Search for One-hot in DVDs
Search for One-hot in Store


One-hot in Encyclopedia
One-hot top One-hot

Home - Add TutorGig to Your Site - Disclaimer

©2011-2013 All Rights Reserved. Privacy Statement