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

📄 mux2to1_9.vhd

📁 这是我从网上找到的用vhdl语言写的sdram控制器的代码。我的邮箱:wleechina@163.com
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
entity mux2to1_9 is
generic(n:integer:=9);
port(s    :in  std_logic;
     in_0 :in  std_logic_vector(n-1 downto 0);
     in_1 :in  std_logic_vector(n-1 downto 0);
     out_y:out std_logic_vector(n-1 downto 0));
end entity mux2to1_9;
architecture behave of mux2to1_9 is
begin
  with s select
    out_y<=in_0 when '0',
	        in_1 when others;
end architecture behave;

			 

⌨️ 快捷键说明

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