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

📄 ncount.txt

📁 全数字锁相环(adpll)的部分源程序代码
💻 TXT
字号:
Library IEEE; 
Use IEEE.std_logic_1164.all; 
Use ieee.std_logic_unsigned.all;
Use IEEE.std_logic_arith.all; 
Entity ncount is 
    Port( FIN: in std_logic; 
 VOUT: out std_logic); 
end ncount; 
architecture arch of ncount is 
    signal count : integer range 0 to 63; 
begin 
process (FIN) 
begin 
  if rising_edge(FIN) then 
     count<=count+1; 
         if count>=32  then VOUT<='1'; 
                    else VOUT<='0';  
     end if; 
  end if; 
end process; 
end arch;

⌨️ 快捷键说明

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