Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Where to use One Hot encoding and Gray encoding ?

Status
Not open for further replies.

spartanthewarrior

Full Member level 2
Joined
Jun 13, 2007
Messages
122
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,142
Gray and 1-hot encoding

Hi Can,

any body tell me

Where to use One Hot Encoding and Gray encoding.
 

Re: Gray and 1-hot encoding

Gray Coding: Each state in state machine is assigned using gray coding, so that only one bit changes at a time.
Advantage: 1) this coding overcomes problems in binary coding like transition to dead, unwanted.
2) This coding is used in 1) Glitch free circuits 2) Asyn FIFO design 3) high speed decoding circuit
Disadvantage: Control logic is quite Complex.2) number of flip flop = number of flip flops in binary state machine

c) One Hot-Encoding: It takes one F/F for each state.
Advantage: Fast and control logic is simple, used in FPGA
Disadvantage: More hardware

Santu
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top