cpu之Branch_Zero

来源:互联网 发布:unity3d vr手游 编辑:程序博客网 时间:2024/06/01 22:58
module Branch_Zero(input wire Branch,input wire rst,input wire Zero,output reg dst);always @(*) beginif (rst==1'b1) begindst <= 1'b0;end else begin  if (Branch==1'b1 && Zero==1'b1) begin  dst <= 1'b1;  end else begin    dst <= 1'b0;  endendendendmodule

原创粉丝点击