HELP ME FOR VERILOG CODE FOR PI /4 QPSK MODULATOR AND DEMODU

Status
Not open for further replies.

naresh naik

Newbie level 4
Joined
Aug 1, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
HYDERABAD
Visit site
Activity points
1,314
HI FRIENDS,


I AM DOING MY MTECH PROJECT ON PI /4 QPSK MODULATOR AND DEMODULATOR .....
PLZ SEND TUTORIAL ON PI /4 QPSK MODULATOR AND DEMODULATOR .....
.......PLZ SEND VERILOG CODE FOR PI /4 QPSK MODULATOR AND DEMODULATOR TO MY MAILID :

ch_nrshnk(at)yahoo.co.in .....PLZ HELP ME AS SOON AS POSSIBLE
 

L=100;
xa=randint(1,L,4);
const1=cos(0i/2:3*pi/2)+i*sin(0i/2:3*pi/2); % first constellation
const2=cos(pi/4i/2:2*pi)+i*sin(pi/4i/2:2*pi); % seecond constellation

sig_const=zeros(1,length(xa));
sig_const(1:2:end)=const1(xa(1:2:end)+1);
sig_const(2:2:end)=const2(xa(2:2:end)+1);

x_real=real(sig_const);
x_img=imag(sig_const);

t = (0:length(x_real)-1)/Fs;

tx_sig = x_real.* cos(2*pi*fc*t) + x_img .* sin(2*pi*fc*t);
 

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