📄 jishu.vhd
字号:
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
entity JISHU is
port(LD:IN std_logic;
cP:IN std_logic;
JISHUtime:BUFFER integer range 0 to 255);
end JISHU;
architecture behav of JISHU is
begin
process(cP)
begin
IF(CP'EVENT AND CP='1')THEN
if(ld='1')then
if(JISHUtime=99)then JISHUtime<=0;
else JISHUTIME<=JISHUTIME+1;
END IF;
end if;
end if;
end process;
end behav;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -