vhdl code for binary to stochastic bit stream conversion.

Status
Not open for further replies.

awais2451985

Newbie level 3
Joined
Sep 26, 2008
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
Hi, i have to design a parallel LDPC decoder with stochastic decoding capability.
The principle is to convert the channel LLR values into stochastic bit stream, where the probability of 1s in the output bit stream is equal to input LLR value.
So far i know that to do so, we need a comparator which compares a normally distributed random number R with input N, if R<N the output is 0 else 1.
Kindly someone help me out, in writing a vhdl code for that, any matlab/C routine will also be useful for me.


Regards.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…