OpenCores
URL https://opencores.org/ocsvn/oms8051mini/oms8051mini/trunk

Subversion Repositories oms8051mini

[/] [oms8051mini/] [trunk/] [rtl/] [8051/] [oc8051_alu_test.v] - Diff between revs 25 and 36

Show entire file | Details | Blame | View Log

Rev 25 Rev 36
Line 359... Line 359...
  endcase
  endcase
end
end
 
 
always @(posedge clk or negedge resetn)
always @(posedge clk or negedge resetn)
  if (resetn == 1'b0) begin
  if (resetn == 1'b0) begin
    ides1_r <= #1 8'h0;
    ides1_r <= 8'h0;
  end else begin
  end else begin
    ides1_r <= #1 ides1;
    ides1_r <= ides1;
  end
  end
 
 
always @(posedge clk or negedge resetn)
always @(posedge clk or negedge resetn)
  if (resetn == 1'b0) begin
  if (resetn == 1'b0) begin
    desCy <= #1 1'b0;
    desCy <= 1'b0;
    desAc <= #1 1'b0;
    desAc <= 1'b0;
    desOv <= #1 1'b0;
    desOv <= 1'b0;
    des1 <= #1 8'h00;
    des1 <= 8'h00;
    des2 <= #1 1'h00;
    des2 <= 1'h00;
    des1_r <= #1 1'h00;
    des1_r <= 1'h00;
  end else begin
  end else begin
    desCy <= #1 idesCy;
    desCy <= idesCy;
    desAc <= #1 idesAc;
    desAc <= idesAc;
    desOv <= #1 idesOv;
    desOv <= idesOv;
    des1 <= #1 ides1;
    des1 <= ides1;
    des2 <= #1 ides2;
    des2 <= ides2;
    des1_r <= #1 ides1_r;
    des1_r <= ides1_r;
  end
  end
 
 
 
 
endmodule
endmodule
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.