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

📄 timer_enable.vhd

📁 这个是国外大学的项目代码
💻 VHD
字号:
------------------------------------------------------------------------
--  timer_enable.vhd -- 
------------------------------------------------------------------------
--  Authors : Albert Zemba & Mihai Cucicea
------------------------------------------------------------------------
-- Software version: Xilinx ISE 7.1i 
--                   WebPack
------------------------------------------------------------------------
-- This source file contains the timer_enable component
------------------------------------------------------------------------
--  Behavioral description
--  This is the enable for the timer
--  When the game has started, first	
------------------------------------------------------------------------
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;

entity timer_enable is
	port( done,RDY,reset: in std_logic;
			enable: out std_logic:='0'
		 );
end timer_enable;

architecture Behavioral of timer_enable is

begin

	process (done,RDY)
	begin
		if (reset='1') then
			enable<='0';
		else
			if (done='1') then
				enable<='0';
			else
				if (RDY='1') then
					enable<='1';
				end if;
			end if;
		end if;
	end process;

end Behavioral;

⌨️ 快捷键说明

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