lhkhhk

程序:

entity dand is

port(

a,b,clk:in bit;

q:out bit

);

end ;

architecture bhv of dand is

signal temp:bit;

begin

temp<=a nand b;

process(clk)--尽管process内部的语句是顺序执行的,但是process作为一个整体和process外部的其他语句是并发执行的。

begin

if clk\'event and clk=\'1\' then q<=temp;

end if;

end process;

end bhv;

 

分类:

技术点:

相关文章:

  • 2021-12-02
  • 2022-01-18
  • 2021-08-31
  • 2021-08-09
  • 2021-05-08
  • 2021-05-28
  • 2021-04-04
  • 2021-12-02
猜你喜欢
  • 2021-09-21
  • 2021-12-02
  • 2021-12-02
  • 2021-12-02
  • 2021-05-16
  • 2022-02-10
  • 2021-12-15
相关资源
相似解决方案