busaddress <= address;
buswr <= wr;
busrd <= rd;
- if (wr)
+ if (wr) begin
buswdata <= wdata;
+ if (address == 16'hFF50)
+ bootstrap_enb <= 0;
+ end
end
end
`STATE_DECODE: begin /* Make sure this only happens for one clock. */
end
wr <= 0;
rd <= 0;
- buswr <= 0;
- busrd <= 0;
address <= 16'bxxxxxxxxxxxxxxxx; // Make it obvious if something of type has happened.
wdata <= 8'bxxxxxxxx;
state <= `STATE_EXECUTE;