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

📄 m8.vhd

📁 这是一个8分频的VHDL语言设计程序
💻 VHD
字号:
Library IEEE;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity m8 is
port(clk_in:in std_logic;
     clk_out:out std_logic);
end m8;
architecture com of m8 is
signal count:std_logic_vector(2 downto 0);
begin
 process(clk_in)
  begin
  if clk_in'event and clk_in='1' then
    if count<"111" then
       count<=count+1;
       clk_out<='0';
    else count<="000";
         clk_out<='1';
    end if;
   end if;
  end process;
end com; 


⌨️ 快捷键说明

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