Sep 2, 2010 #1 N niraj_m Junior Member level 1 Joined Sep 26, 2009 Messages 19 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Location Edison Activity points 1,404 HI, I need to code Manchester encoder - decoder . I am very new to this . Can any one provide the Manchester encoder and decoder code in VHDL please . Thanks in advance ! Niraj
HI, I need to code Manchester encoder - decoder . I am very new to this . Can any one provide the Manchester encoder and decoder code in VHDL please . Thanks in advance ! Niraj
Sep 2, 2010 #2 L lostinxlation Advanced Member level 2 Joined Aug 19, 2010 Messages 699 Helped 197 Reputation 394 Reaction score 183 Trophy points 1,323 Location San Jose area Activity points 5,051 If you know how Manchester code works, it shouldn't be difficult. Roughly, assume you have 2 states, state0 that outputs 0, and state1 that outputs 1. When you get 0 as input, move to state0 and then to state1 next cycle. When you get 1 as input, move to state1 and then to state0 next cycle. You need minor extra things to make it work perfectly, but basic idea is along the line I said above. Last edited: Sep 2, 2010
If you know how Manchester code works, it shouldn't be difficult. Roughly, assume you have 2 states, state0 that outputs 0, and state1 that outputs 1. When you get 0 as input, move to state0 and then to state1 next cycle. When you get 1 as input, move to state1 and then to state0 next cycle. You need minor extra things to make it work perfectly, but basic idea is along the line I said above.
Sep 2, 2010 #3 N niraj_m Junior Member level 1 Joined Sep 26, 2009 Messages 19 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Location Edison Activity points 1,404 Thanks lostinxlation! lostinxlation said: If you know how Manchester code works, it shouldn't be difficult. Roughly, assume you have 2 states, state0 that outputs 0, and state1 that outputs 1. When you get 0 as input, move to state0 and then to state1 next cycle. When you get 1 as input, move to state1 and then to state0 next cycle. You need minor extra things to make it work perfectly, but basic idea is along the line I said above. Click to expand...
Thanks lostinxlation! lostinxlation said: If you know how Manchester code works, it shouldn't be difficult. Roughly, assume you have 2 states, state0 that outputs 0, and state1 that outputs 1. When you get 0 as input, move to state0 and then to state1 next cycle. When you get 1 as input, move to state1 and then to state0 next cycle. You need minor extra things to make it work perfectly, but basic idea is along the line I said above. Click to expand...