select_32.vhd.bak
来自「32位 2选1 选择器 VHDL语言程序」· BAK 代码 · 共 14 行
BAK
14 行
library ieee;
use ieee.std_logic_1164.all;
entity select_32 is
port( A:in std_logic_vector(15 downto 0);
B:in std_logic_vector(15 downto 0);
S:in std_logic;
Y:out std_logic_vector(15 downto 0));
end entity;
architecture bevi of select_32 is
begin
Y<=A when (S='0') else Y<=B;
end architecture;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?