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.

Repetition code encoder helping

Status
Not open for further replies.

k2121

Newbie level 5
Joined
Aug 19, 2010
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
canada
Activity points
1,319
Hello
Can anyone tell me how can I write Repetition code decoder?
Thanks
 

Ahmed Alaa

Full Member level 5
Joined
Jul 22, 2009
Messages
317
Helped
61
Reputation
136
Reaction score
44
Trophy points
1,318
Location
Egypt
Activity points
2,968
You can use a majority logic; for a single info bit, find whether the code bits are mostly ones or zeros? If ones are more your decision is 1 and vice versa.
e.g. 1 (info bit) -> 1 1 1 (1/3 repetition code) -> 0.8 0.9 -0.1 (received bits) -> 1 1 0 (decoded) -> 1 (decision bec. we have two 1's and one 0)
 

k2121

Newbie level 5
Joined
Aug 19, 2010
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
canada
Activity points
1,319
Thanks a lot Ahmad for your helping .
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top