⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fenpin.vhd

📁 简单的数字频率计
💻 VHD
字号:
library IEEE;
use IEEE.std_logic_1164.all;

entity fenpin is
port(source:in std_logic;
	 d:out std_logic);
end fenpin;

architecture fenpin_arch of fenpin is
signal tp:std_logic;
begin
  process(source)
	begin
	if (source'event)and(source='1') then 
	  if tp='0' then tp<='1'; else tp<='0';end if;
	end if;
	d<=tp;
  end process;
end fenpin_arch;

⌨️ 快捷键说明

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