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

📄 full_adder.vhd

📁 altera Quartus II modelSim 自動模擬搭配
💻 VHD
字号:
-- FileName: Full_Adder.vhd
entity Full_Adder is
	port(
			X,Y,CIN	:	in	BIT;
			COUT	:	out BIT;
			SUM		:	out	BIT
		);
end entity Full_Adder;

architecture syn of Full_Adder is
	signal temp1,temp2 : BIT;
begin
	temp1 <= X xor Y;
	temp2 <= temp1 and CIN;
	SUM <= temp1 xor CIN;
	COUT <= temp2 OR (X and Y);
	
end architecture syn;    

⌨️ 快捷键说明

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