任意波形信号发生器

2026/1/27 16:34:38

五、总结与体会

24

参考文献

[1]杨颂华等. 电子线路EDA仿真技术[M]. 西安:西安交通大学出版社,2008. [2]刘昌华.数字逻辑EDA设计与实践[M].北京:国防工业出版社,2006. [3]王振红等.电子电路综合设计实例集萃[M].北京:化学工业出版社,2008.

[4]谭会生等.EDA技术及应用(第二版)[M].西安:西安电子科技大学出版社,2002.

25

附录

--------------------------------------------------------------------------------------------------------------------- --------------斜波------------------------------------------------------------------------------------------------- library ieee;

use ieee.std_logic_1164.all; use ieee.std_logic_unsigned.all; entity obl is

port(clk ,reset: in std_logic; Q:out std_logic_vector(7 downto 0)); end entity obl; architecture d of obl is

signal tmp: std_logic_vector(7 downto 0); begin

process(clk,reset)is begin

if(reset='1') then tmp<=\elsif(clk'event and clk='1') then

if(tmp<\

tmp<=tmp+'1';

else

tmp<=\

end if;

end if;

Q<=tmp; end process; end architecture d;

----------锯齿波------------------------------------------------------------------------------------------------- library ieee;

26

use ieee.std_logic_1164.all; use ieee.std_logic_unsigned.all; entity dlt is

port(clk ,reset: in std_logic; Q:out std_logic_vector(7 downto 0)); end entity dlt; architecture d of dlt is

signal tmp: std_logic_vector(7 downto 0); begin

process(clk,reset)is begin

if(reset='1') then tmp<=\elsif(clk'event and clk='1') then

if(tmp<\

tmp<=tmp+'1';

else

tmp<=\

end if;

end if;

Q<=tmp; end process; end architecture d;

----------正弦波------------------------------------------------------------------------------------------------- library ieee;

use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; use ieee.std_logic_unsigned.all; entity sin is

port(clk ,reset: in std_logic;

27


任意波形信号发生器.doc 将本文的Word文档下载到电脑
搜索更多关于: 任意波形信号发生器 的文档
相关推荐
相关阅读
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 10

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219