📄 。.c
字号:
reset2:process(reset_i,n1,clk)
begin
if reset_i='0'then scce_p<='1';
else
if (n1='1' or m1='1')then
scce_p<='1';
else scce_p<='0';
end if ;
end if ;
end process reset2;
clk1: process(n1,clk)
variablea: integer range 254 to 0;
begin
if (sio_c_start='0' or n1='1') then
q<='1';a:=0;
else
if (clk'event and clk='1') then
if (sio_c_start='1' and n1='0') then
if a<254 then; a:=a+1;
else a:=1;
end if ;
if a<127 then q<='0';
else q<='1'; end if ;
end if ;
end if ;
end if ;
end process clk1;
lock:process(sio_c_start,q)
variablen: integer range 8 to 0;
begin
if ( sio_c_start='0' then load<='1';n:=0;
else
if (q 'event and q='0') then
if n<8 then n
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -