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

📄 geweizd.vhd

📁 自己用VHDL写的键盘程序
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
entity geweizd is
      port(a:in std_logic;
           b:in std_logic;
           key_down:out std_logic);
end geweizd;
architecture one of geweizd is
     signal c:std_logic;
begin
     process(b)
     begin
         if b='1' then 
             c<=a;
         else
             c<='0';
         end if;
     end process;
     key_down<=c;
end one;

⌨️ 快捷键说明

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