]> Joshua Wise's Git repositories - fpgaboy.git/commitdiff
fixed daa for no half carry, top carry, decimal carry on MSD, no decimal carry on LSD
authorChristopher Zihao Lu <czl@roz.weh.andrew.cmu.edu>
Sun, 11 May 2008 12:50:37 +0000 (08:50 -0400)
committerChristopher Zihao Lu <czl@roz.weh.andrew.cmu.edu>
Sun, 11 May 2008 12:50:37 +0000 (08:50 -0400)
core/insn_alu_a.v

index 3d7e917b0a29154cd217a973fc0f86d280293131..580643884bf36fcda66d94d1e28e0dfa030b6d06 100644 (file)
@@ -96,8 +96,8 @@
                                                end
                                                else begin
                                                        if (`_A[7:4] > 4'h9) begin
-                                                               `_A <= `_A + 8'h66;
-                                                               `_F <= {((`_A + 8'h66) == 8'b0), `_F[6:5], 1'b1, `_F[3:0]};
+                                                               `_A <= `_A + 8'h60;
+                                                               `_F <= {((`_A + 8'h60) == 8'b0), `_F[6:5], 1'b1, `_F[3:0]};
                                                        end
                                                        else begin
                                                                `_F <= {(`_A == 8'b0), `_F[6:0]};
This page took 0.029569 seconds and 4 git commands to generate.