X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/dadf7990cbca24581bbb3c036df717dd59bdea41..3785d05a183aa8de851f361432c5da2cc8f11c16:/GBZ80Core.v diff --git a/GBZ80Core.v b/GBZ80Core.v index 96e4dcd..095d9e8 100644 --- a/GBZ80Core.v +++ b/GBZ80Core.v @@ -87,9 +87,9 @@ module GBZ80Core( input clk, - output reg [15:0] busaddress, /* BUS_* is latched on STATE_FETCH. */ + output reg [15:0] busaddress = 0, /* BUS_* is latched on STATE_FETCH. */ inout [7:0] busdata, - output reg buswr, output reg busrd); + output reg buswr = 0, output reg busrd = 0); reg [1:0] state = 0; /* State within this bus cycle (see STATE_*). */ reg [2:0] cycle = 0; /* Cycle for instructions. */