Verilog语法复习练习.pptVIP

  • 138
  • 0
  • 约7.12千字
  • 约 34页
  • 2019-03-03 发布于北京
  • 举报
(26)若想使P1中的Depth的值变为16,则应向空括号中填入哪个选项。 module Pipe(IP,OP); parameter option=1; parameter Depth=1; … endmodule module Pipe P1(IP1,OP1); ( ); endmodule 1)defparam P1 .Depth=16; 2)parameter P1 .Depth=16; 3)parameter Pipe. Depth=16; 4)defparam Pipe.Depth=16; 标准答案:1)。用后缀改变引用模块的参数要用defparam及用本模块各作为引如P1.Depth。 (27)如果想在Test的monitor语句中观察Count的值,则在空括号中应填入什么? module Test module Counter; Top T(); reg[3:0] Count; Initial … $monitor() endmodule endmodu

文档评论(0)

1亿VIP精品文档

相关文档