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

📄 f_dis.vhd

📁 程序用VHDL实现: 利用一秒定时测量频率 并且显示
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
entity f_dis is
   port (en :in std_logic;
           q:in std_logic_vector(3 downto 0);
           y:out std_logic_vector(3 downto 0));
end ;
architecture rtl of f_dis is
signal indata :std_logic_vector(3 downto 0);
begin 
    process(en)
    begin
      if  en='0' then--en=0时锁存
        indata<=q;     
      end if;
     end process;
   y<=indata;
end rtl;

⌨️ 快捷键说明

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