cntm6.vhd

来自「DDS直接数字频率合成器」· VHDL 代码 · 共 23 行

VHD
23
字号
--cntm6
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;

entity cntm6 is
  port(
       clk:in bit;
        oc:inout integer range 0 to 5
); 
end;

architecture a of cntm6 is
begin
 process(clk)
begin
 if(clk'event and clk='1') then
oc<=oc+1;
end if;
end process;
end ;

⌨️ 快捷键说明

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