1、门级的分类

  nand------与非门

  nor-------或非门

  xor-------异或门

  xnor------异或非门

  buf-------缓冲器

2、模块间的引用

  module flop(data,clock,clear,q,qb);

    ;

  endmodule

 

  mudule hardreg(d,clk,clrb,q);

    ;

  flop  f1(d,clk,clrb,q,);//注意这里没有引用qb,但是我们依然要保留 "," 逗号。

    ;

  endmodule

 

相关文章: