📄 op_or.vhd
字号:
------------------------------------------------------------------------------------ Company: -- Engineer: -- -- Create Date: 11:15:06 04/04/2009 -- Design Name: -- Module Name: op_or - Behavioral -- Project Name: -- Target Devices: -- Tool versions: -- Description: ---- Dependencies: ---- Revision: -- Revision 0.01 - File Created-- Additional Comments: ------------------------------------------------------------------------------------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 op_or is
port ( input1 : in std_logic_vector(15 downto 0); input2 : in std_logic_vector(15 downto 0); output_from_or : out std_logic_vector(15 downto 0));end op_or;architecture Behavioral of op_or issignal data : std_logic_vector(15 downto 0);begin process (input1, input2, data) begin data <= input1 or input2; end process; output_from_or <= data;end Behavioral;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -