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

📄 register.vhd

📁 Self timed pipelined adder
💻 VHD
字号:
library IEEE;use IEEE.STD_LOGIC_1164.ALL;use IEEE.STD_LOGIC_ARITH.ALL;use IEEE.STD_LOGIC_UNSIGNED.ALL;---- Uncomment the following library declaration if instantiating---- any Xilinx primitives in this code.--library UNISIM;--use UNISIM.VComponents.all;entity Adder_Register is    Port ( Input : in  STD_LOGIC_VECTOR (1 downto 0);           Output : out  STD_LOGIC_VECTOR (1 downto 0);			  Reset : in STD_LOGIC;           Enable : in  STD_LOGIC);end Adder_Register;architecture Behavioral of Adder_Register isbeginprocess(Enable, Reset)beginif (Enable'event and Enable ='1') then   			Output <= Input after 5 ns;			end if; if (Reset = '1') then		Output <= "00" after 5 ns;end if;	end process;end Behavioral;

⌨️ 快捷键说明

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