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

📄 divclk.vhd

📁 用VHDL实现的DDS
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity divclk is
port 
( clk :in std_logic;
  testen :out std_logic;
  load :out std_logic;
  clr_cnt :out std_logic
);
end divclk;
architecture one of divclk is
 signal div2clk : std_logic;
begin 
   process(clk)
    begin
     if(clk'event and clk='1')then
       div2clk<=not div2clk ;
     end if;
   end process;
   process(clk,div2clk)
     begin
      if(clk='0' and  div2clk='0')then
       clr_cnt<='1';
      else
       clr_cnt<='0';
      end if;
   end process;
  load<=not div2clk;
  testen<=div2clk;
end one;

⌨️ 快捷键说明

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