csif1.vhd

来自「《CPLD_FPGA设计及应用》课件与实例」· VHDL 代码 · 共 16 行

VHD
16
字号
library ieee;
use ieee.std_logic_1164.all;
entity csif1 is
  port(a:in std_logic;
       y:out std_logic);
end csif1;
architecture csif of csif1 is
begin
  process(a)
  begin
    if (a='1') then
       y<=a;
    end if;
  end process;
end csif;

⌨️ 快捷键说明

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