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

📄 input.vhd

📁 实现了16*16点阵上的三色显示的弹球游戏
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
entity input is
	port(keyIn:in std_logic;
		clk:in std_logic;
		keyOut:out std_logic);
end input;

architecture main of input is
	signal a,b,c,d:std_logic;
	begin
		a<=(not keyIn) nand b;
		b<=a nand (not c);
		keyOut<=c and (not d);
		process(clk)
		begin
			if(falling_edge(clk)) then
				c<=a;
				d<=c;
			end if;
		end process;
	end main;

⌨️ 快捷键说明

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