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

📄 generator_add.vhd

📁 DDS锯齿波发生器: 开发平台:maxplus+FPGA 功能: 输出X路扫屏锯齿波。频率可用键盘精确控制
💻 VHD
字号:
------------------------------------------------------------------------------------
-- DESCRIPTION   :  cascadable Adder
--                  Width: 6
--
-- 
------------------------------------------------------------------------------------


library IEEE;
use IEEE.STD_LOGIC_1164.all;
use IEEE.STD_LOGIC_UNSIGNED.all;

entity generator_add is
	port (
        A : in std_logic_vector (15 downto 0);
	    B : in std_logic_vector (15 downto 0);
		Q : out std_logic_vector (8 downto 0)
	);
end entity;

--}} End of automatically maintained section

architecture add_anGen_arch of generator_add is
begin
	process (A ,B)
	begin
		Q <= A(15 downto 7) + B(15 downto 7);
	end process;

end architecture add_anGen_arch;

⌨️ 快捷键说明

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