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

📄 ex09.vhd

📁 大家一定要看 哦 程序在与多看多练 我找了好久才找到呢
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
entity ex09 is port(
 	B,COPY_ENABLE: in std_logic_vector(8 downto 1);
    A: out std_logic_vector(8 downto 1));
end ex09;
architecture archmux of ex09 is
begin
   PROCESS(B,COPY_ENABLE)
     BEGIN
         A<="00000000";
         FOR I IN 8 DOWNTO 1 LOOP
           NEXT WHEN (COPY_ENABLE(I)='0');
           A(I)<=B(I);
         END LOOP;
   END PROCESS;
end archmux;

⌨️ 快捷键说明

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