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

📄 xiaopro.vhd

📁 这个是我毕业设计的最初方案 8位二进制密码锁
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
entity xiaopro is
  port(a,clk1:in std_logic;
       b:out std_logic);
end xiaopro;
architecture xiao_arc of xiaopro is
signal tmp1:std_logic;
begin
  process(clk1,a)
  variable tmp3,tmp2:std_logic;
  begin
    if clk1'event and clk1='0' then
      tmp1<=a;
      tmp2:=tmp1;
      tmp3:=not tmp2;
    end if;
    b<=tmp1 and tmp3 and clk1;
  end process;
end xiao_arc;

⌨️ 快捷键说明

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