Rules
|
Recent posts
|
topic RSS
|
Search
|
Register
|
Log in
VHDL code for BPSK
EDAboard.com Forum Index
->
Digital communication
Author
Message
draz
Joined: 16 Jan 2006
Posts: 19
Location: bangalore
29 Jun 2006 7:48
VHDL code for BPSK
tags:
vhdl code for bpsk
bpsk vhdl code
Hi
Can someone please help me with the VHDL code for BPSK modulator/Demodulator ?
I need this urgently for my Project
Thanks
Back to top
ravurig
Joined: 21 Jun 2004
Posts: 21
Helped:
1
29 Jun 2006 8:53
Re: VHDL code for BPSK
try this verilog code
Modulator:-
always @(MOD_IN) begin
MOD_OUT_Q = 'd0;
if(MOD_IN) MOD_OUT_I = 'h3; (-1)
else MOD_OUT_I = 'h1; (+1)
end
De_Mod:-
always @(MOD_OUT_I or MOD_OUT_Q) begin
case({MOD_OUT_I,MOD_OUT_Q})
4'b1100: DEMOD_OUT = 1;
4'b0100: DEMOD_OUT = 0;
endcase
end
Back to top
EDAboard.com Forum Index
->
Digital communication
Page
1
of
1
All times are GMT + 1 Hour
Abuse
Administrator
Moderators
sitemap