]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - insn_incdec_reg8.v
Fix some really dumb no-synthesize issues LIKE NOT TYPING THE MODULE NAME CORRECTLY...
[fpgaboy.git] / insn_incdec_reg8.v
index 78f8b5a99dd315a645662d4ba484e59441af2d85..61464f68de903b31415638c4826d9701d0d59101 100644 (file)
                `INSN_reg_H:    `_H <= tmp + (opcode[0] ? 8'hFF : 8'h01);
                `INSN_reg_L:    `_L <= tmp + (opcode[0] ? 8'hFF : 8'h01);
                endcase
+               `_F <= {
+                               (tmp + (opcode[0] ? 8'hFF : 8'h01)) ? 1'b0 : 1'b1,
+                               1'b0,
+                               (({1'b0,tmp[3:0]} + (opcode[0] ? 5'h1F : 5'h01)) >> 4) ? 1'b1 : 1'b0,
+                               `_F[4:0]};
        end
 `endif
This page took 0.021524 seconds and 4 git commands to generate.