t159.vhd

来自「Workshop vhdl code from Esperan」· VHDL 代码 · 共 17 行

VHD
17
字号
--
-- This file tests support for the use of the 
-- attribute 'not stable for edge detection.
--
entity TEST is 
	port( D, CLK : in bit;
	      Q : out bit);
end TEST;
architecture T159 of TEST is
begin
	process
	begin
		wait until (CLK='1' and (not CLK'stable));
		Q <= D;
	end process;
end T159;

⌨️ 快捷键说明

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