example.vhd

来自「一些很好的FPGA设计实例」· VHDL 代码 · 共 15 行

VHD
15
字号

entity example is
    port ( a, b, clk : in bit;
          q : out bit );
end example;
 architecture examp of example is
 signal temp : bit;
begin 
 temp <= a nand b;
process (clk)
begin 
     if (clk 'event and clk= '1') then q <= temp;
     end if;
end process;
end examp;

⌨️ 快捷键说明

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