Calculating Data rate function of bandwidth and SNR
You need to convert your Eb/N0 to S/N . S (Signal power) is (Eb (bit energy) * Rb (bit rate)). N (Noise power) is N0 (noise power per Hz) * B (channel bandwidth).

so, SNR = Eb/N0 x Rb/B