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

📄 full_adder.vhd

📁 This is 8bit multiplier VHDL code. It s consist of full adder, ripple carry adder(4bit, 8bit) multip
💻 VHD
字号:
library IEEE;                                                            
use IEEE.STD_LOGIC_1164.ALL;                                             
use IEEE.STD_LOGIC_ARITH.ALL;                                            
use IEEE.STD_LOGIC_UNSIGNED.ALL;                                         
                                                                         
                                  
                                                                         
entity full_adder is                                                     
Port (a, b, c : in std_logic;                                            
  sum, carry_out : out std_logic);                                       
end full_adder;                                                          
                                                                         
architecture Behavioral of full_adder is                                 
                                                                         
begin                                                                    
sum <= a xor b xor c;                                                    
carry_out <= (a and b) or (b and c) or (c and a);                        
                                                                         
end Behavioral;                                                          
                                                                         
                                                                         
                                                                         
            

⌨️ 快捷键说明

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