kcoun102.vhd

来自「Fire&password数字系统实验」· VHDL 代码 · 共 27 行

VHD
27
字号


library ieee;
use ieee.std_logic_1164.all;

entity kcoun102 is
       port(A  : in std_logic;
            B  : out std_logic);
end kcoun102;

architecture kcoun102_arc of kcoun102 is
       component kcoun10
         port(A  : in std_logic;
              B  : out std_logic);
       end component;

       component kcoun20
         port(A  : in std_logic;
              B  : out std_logic);
       end component;
       
       signal tmp: std_logic;
begin
     U0:  kcoun10 port map(A,tmp);
     U1:  kcoun20 port map(tmp,B);
end kcoun102_arc;

⌨️ 快捷键说明

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