云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > 基于VHDL的2FSK调制与解调

基于VHDL的2FSK调制与解调

  • 62 次阅读
  • 3 次下载
  • 2026/4/25 2:25:05

河北大学工商学院2012届本科生毕业论文(设计)

附 录

调制部分程序 libraryieee;

useieee.std_logic_arith.all; useieee.std_logic_1164.all; useieee.std_logic_unsigned.all; entityPPPL_FSKis port(clk:instd_logic; start:instd_logic; x:instd_logic; y:outstd_logic); endPPPL_FSK;

architecturebehavofPPPL_FSKis signalq1:integerrange0to15; signalq2:integerrange0to3; signalf1,f2:std_logic; begin process(clk) begin

ifclk'eventandclk='1'then ifstart='0'thenq1<=0;

elsifq1<=7thenf1<='1';q1<=q1+1;

elsifq1=15thenf1<='0';q1<=0; elsef1<='0';q1<=q1+1; endif endif; endprocess; process(clk) begin

ifclk'eventandclk='1'then ifstart='0'thenq2<=0;

elsifq2<=0thenf2<='1';q2<=q2+1; elsifq2=1thenf2<='0';q2<=0;

21

河北大学工商学院2012届本科生毕业论文(设计)

elsef2<='0';q2<=q2+1; endif; endif; endprocess; process(clk,x) begin

ifclk'eventandclk='1'then ifx='0'theny<=f1; elsey<=f2; endif; endif; endprocess; endbehav;

解调部分程序

libraryieee;

useieee.std_logic_arith.all; useieee.std_logic_1164.all; useieee.std_logic_unsigned.all; entityDL_FSKis port(clk:instd_logic; start:instd_logic; x:instd_logic; y:outstd_logic); endDL_FSK;

architecturebehavofDL_FSKis signalq:integerrange0to15; signalxx:std_logic; signalm:integerrange0to5; begin process(clk) begin

ifclk'eventandclk='1'thenxx<=x; ifstart='0'thenq<=0; elsifq=15thenq<=0;

22

河北大学工商学院2012届本科生毕业论文(设计)

elseq<=q+1; endif; endif; endprocess; process(xx,q) begin

ifq=15thenm<=0; elsifq=10then ifm<=3theny<='0'; elsey<='1'; endif;

elsifxx'eventandxx='1'thenm<=m+1; endif; endprocess; endbehav;

23

搜索更多关于: 基于VHDL的2FSK调制与解调 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

河北大学工商学院2012届本科生毕业论文(设计) 附 录 调制部分程序 libraryieee; useieee.std_logic_arith.all; useieee.std_logic_1164.all; useieee.std_logic_unsigned.all; entityPPPL_FSKis port(clk:instd_logic; start:instd_logic; x:instd_logic; y:outstd_logic); endPPPL_FSK; architecturebehavofPPPL_FSKis signalq1:integerrange0to15; signalq2:integerrange0to3; signalf1,f2:std_logic; begin process(clk)

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com