One-hot code


What is meant by one-hot code? How and where is it used mostly? -Raj

Asked By: raj_jere
On: Apr 16, 2005 3:39:53 PM

Comments(1)



Hi Raj, As far as I understood, one-hot code is the methodology in which you use as many flip-flops as states you have. So each state is defined with a one in one of the flip-flops. I.E.: In a 4-states FSM with the simplest encoding, you need 2 Flip-flops, and the assignment should be: State: assignment: A 00 B 01 C 10 D 11 In One-Hot coding, the encoding should be: State: assignment: A 0001 B 0010 C 0100 D 1000 With this methodology, you increase the number of flip-flops you use, but has the advantage that needs less logic for the excitation equations. I hope it can help you. Regards
You have to be logged in to be able to post a comment. To login Click Here. First time? Signup It just takes a few minutes to sign up.
Members with Most Replies
Find Job Openings