⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dds.vhd

📁 msp430驱动340*240程序 包括显示图片 文字 以及一些改变字体颜色功能等
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;

entity dds is
	port(	
		 frep:   in std_logic_vector(14 downto 0);
		 phase:  in std_logic_vector(8 downto 0); 
		 clk:	 in std_logic;
		 address1:  out std_logic_vector(8 downto 0)
		 );
end;

architecture one of dds is	
signal address: std_logic_vector(8 downto 0);
signal acc:std_logic_vector(23 downto 0); 
begin 		   
	process(clk,phase)
	begin
		if clk'event and clk='1' then
			acc<=acc+frep;
		end if;

	address<=acc(23 downto 15); 
	address1<=address+phase;
    
		end process;  
end one;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -