]> Joshua Wise's Git repositories - fpgaboy.git/commitdiff
Bugfix for SCF
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Sun, 6 Apr 2008 05:04:37 +0000 (01:04 -0400)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Sun, 6 Apr 2008 05:04:37 +0000 (01:04 -0400)
GBZ80Core.v

index ae6ff0076d3676591d162f1b6a1eb5b903b83087..fef4de29e759bf487cfd2343098d3c040f642ba0 100644 (file)
@@ -843,7 +843,7 @@ module GBZ80Core(
                                        registers[`REG_F] <= {registers[`REG_F][7],1'b1,1'b1,registers[`REG_F][4:0]};
                                end
                                `INSN_alu_SCF: begin
-                                       registers[`REG_F] <= {registers[`REG_F][7:5],1,registers[`REG_F][3:0]};
+                                       registers[`REG_F] <= {registers[`REG_F][7:5],1'b1,registers[`REG_F][3:0]};
                                end
                                `INSN_alu_CCF: begin
                                        registers[`REG_F] <= {registers[`REG_F][7:5],~registers[`REG_F][4],registers[`REG_F][3:0]};
This page took 0.029792 seconds and 4 git commands to generate.