module GBZ80Core(
input clk,
- output reg [15:0] busaddress = 0, /* BUS_* is latched on STATE_FETCH. */
+ output reg [15:0] busaddress, /* BUS_* is latched on STATE_FETCH. */
inout [7:0] busdata,
- output reg buswr = 0, output reg busrd = 0,
+ output reg buswr, output reg busrd,
input irq, input [7:0] jaddr);
reg [1:0] state; /* State within this bus cycle (see STATE_*). */
reg [7:0] buswdata;
assign busdata = buswr ? buswdata : 8'bzzzzzzzz;
- reg ie = 0, iedelay = 0;
+ reg ie, iedelay;
initial begin
registers[ 0] <= 0;