X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/5bac4cf0a60acac6826eb3215e1526d48ba8f7ac..6c46357c6f1bfeefc3a9f85aed03f94e923d09f1:/GBZ80Core.v diff --git a/GBZ80Core.v b/GBZ80Core.v index f438339..36cd76a 100644 --- a/GBZ80Core.v +++ b/GBZ80Core.v @@ -118,9 +118,10 @@ module GBZ80Core( output reg [15:0] busaddress, /* BUS_* is latched on STATE_FETCH. */ inout [7:0] busdata, output reg buswr, output reg busrd, - input irq, input [7:0] jaddr); + input irq, input [7:0] jaddr, + output reg [1:0] state); - reg [1:0] state; /* State within this bus cycle (see STATE_*). */ +// reg [1:0] state; /* State within this bus cycle (see STATE_*). */ reg [2:0] cycle; /* Cycle for instructions. */ reg [7:0] registers[11:0];