📄 division_2.txt
字号:
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
---- Uncomment the following library declaration if instantiating
---- any Xilinx primitives in this code.
--library UNISIM;
--use UNISIM.VComponents.all;
entity division_2 is
PORT (CLK:IN STD_LOGIC;
clk2 :OUT STD_LOGIC);
end division_2;
architecture Behavioral of division_2 is
signal temp:std_logic;
begin
p:process(clk)
begin
if clk' event and clk='0' then
temp<=not temp;
end if;
end process;
clk2<=temp;
end Behavioral;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -