bl.vhd
来自「步进电机8细分CPLD相序及外部DA输出 实际细分数可达64细分 使用Atm」· VHDL 代码 · 共 30 行
VHD
30 行
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_arith.all;
use IEEE.std_logic_unsigned.all;
entity bl is
port (
BLCLK: in STD_LOGIC;
reset :in std_logic;
output: out STD_LOGIC
-- output1: out STD_LOGIC
);
end bl;
architecture behave of bl is
begin
-- <<enter your statements here>>
P1:process(BLCLK)
begin
if BLCLK'event and BLCLK='0' then
if (reset='1') then
output<='0';
else
output<='1';
end if;
end if;
-- output1<=output ;
end process;
end behave;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?