编写验证程序解说.pptVIP

  • 11
  • 0
  • 约2.48万字
  • 约 99页
  • 2016-06-25 发布于湖北
  • 举报
思考 在blocking模块中,如下改变,仿真和综合结果有什么变化? 1 always@(posedge clk) begin c=b; b=a; end 2 always @(posedge clk) b=a; always @(posedge clk) c=b; 生成的result文件内容 at time 35,detect out is 1 at time 45,detect out is 1 at time 85,detect out is 1 at time 95,detect out is 1 例 3位全加器设计和验证 module Adder1Bit (A, B, Cin, Sum, Cou)t ; input A, B, Cin; output Sum, Cout; assign Sum = (A ^ B ) ^ Cin; assign Cout = (A ^ B )| (A Cin) | (B Cin) ; endmodule module Adder3Bit (First, Second, Carry_In,Sum_Out, Carry_)O ;ut input [0:2] First, Second; inp

文档评论(0)

1亿VIP精品文档

相关文档