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

📄 mux.vhd

📁 PictureBrowser 是基于Altera 的DE2 开发板设计图像浏览器
💻 VHD
字号:
-- Modified 3/17/2007-- Ian Rothlibrary ieee;use ieee.std_logic_1164.all;use IEEE.std_logic_arith.all;entity mux is  port (	input0, input1, input2, input3,	input4, input5, input6, input7 : in signed(31 downto 0);	sel : in std_logic_vector(2 downto 0);	output : out signed(31 downto 0)  );end mux;architecture behavior of mux isbegin  with sel select	output(31 downto 0) <=  input0(31 downto 0) when "000",			  				input1(31 downto 0) when "001",			  				input2(31 downto 0) when "010",			  				input3(31 downto 0) when "011",			  				input4(31 downto 0) when "100",			  				input5(31 downto 0) when "101",			  				input6(31 downto 0) when "110",			  				input7(31 downto 0) when others;end behavior;

⌨️ 快捷键说明

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