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

📄 anetimes.vhd

📁 VHDL多功能时钟设计~~24小时制~带闹钟
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity anetimes is
port (cho: in std_logic;
      ane: out std_logic);
end entity anetimes;
architecture one of anetimes is
signal a: integer range 0 to 1;
begin
  process(cho, a)
   begin
    if rising_edge(cho) then
     case a is
      when 0=>
      a<=1;
      ane<='0';
      when 1=>
      a<=0;
      ane<='1';
      when others=>null;
     end case;
    end if;
 end process;
end one;       

⌨️ 快捷键说明

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