第一范文网 - 专业文章范例文档资料分享平台

程控交换铃流信号课程设计

来源:用户分享 时间:2025/7/30 18:24:26 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

end rtl256;

library ieee; ——1秒通4秒断的脉冲信号 use ieee.std_logic_1164.all; use ieee.std_logic_unsigned.all; entity entity5 is port(clk:in std_logic; clk_div5:out std_logic); end entity5;

architecture rtl5 of entity5 is

signal count:std_logic_vector(2 downto 0):=\begin

process(clk) begin

if(clk'event and clk='1') then

if(count=\ count<=\ else

count<=count+1; end if; end if; end process; process(clk) begin

if(clk'event and clk='1') then if(count=\ clk_div5<='1'; else

clk_div5<='0'; end if; end if; end process; end rtl5;

library ieee; --20分频得到25Hz的方波 use ieee.std_logic_1164.all; use ieee.std_logic_unsigned.all; entity entity20 is port(clk:in std_logic; clk_div20:out std_logic); end entity20;

architecture rtl20 of entity20 is signal clk_temp:std_logic:='0';

signal count:std_logic_vector(3 downto 0):=\begin

process(clk) begin

if(clk'event and clk='1') then if(count=\

clk_temp<=not clk_temp; count<=\ else count<=count+1; end if; end if; end process;

clk_div20<=clk_temp; end rtl20;

library ieee; ——最后的链接文件 use ieee.std_logic_1164.all; use ieee.std_logic_unsigned.all; entity jh is port(

clk:in std_logic;

clk1:out std_logic;--拨号音 clk2:out std_logic;--回铃音 clk3:out std_logic;--忙音 clk4:out std_logic);--振铃音 end entity;

architecture art of jh is

signal clk1hz,clk02hz,clk25:std_logic:='0'; component entity450 is port(clk:in std_logic;

clk_div450:out std_logic); end component; component entity5 is port(clk:in std_logic; clk_div5:out std_logic); end component;

component entity20 is port(clk:in std_logic; clk_div20:out std_logic); end component; begin

u0:entity450 port map(clk,clk1hz); u1:entity5 port map(clk1hz,clk02hz); u2:entity20 port map(clk,clk25);

clk1<=clk;

clk2<=clk and clk02hz; clk3<=clk and clk1hz; clk4<=clk25 and clk02hz; end;

3.2 QuartusII软件仿真运行结果

(1)、拨号音:连续发送的450Hz信号

(2)、回铃音:1秒通,4秒断的5秒断续的450Hz信号。

(3)、忙音:0.5秒通,0.5秒断的1秒断续的450Hz信号

(4)、振铃信号(铃流):频率为25Hz,以1秒通,4秒断的5秒断续方式发送

波形展开前的波形

搜索更多关于: 程控交换铃流信号课程设计 的文档
程控交换铃流信号课程设计.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c2cqrt7jcg55gf8x599hj_3.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top