police111.vhd

来自「实现电子密码锁的各项功能,经过编译和仿真」· VHDL 代码 · 共 20 行

VHD
20
字号
library ieee;
use ieee.std_logic_1164.all;
entity police111 is 
port(clk7:in std_logic;
      tes:in std_logic;
       police11:out std_logic);
end police111;
architecture one of police111 is 
  begin 
    process(tes,clk7) 
      begin 
          if tes='1' then 
             police11<=clk7;
		  else
			police11<='0';
           end if;
     end process;
   end one;

    

⌨️ 快捷键说明

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