input rd,
input [15:0] addr,
inout [7:0] data,
- output reg serial);
+ output reg serial = 1);
wire decode = (addr == `MMAP_ADDR);
reg [7:0] data_stor = 0;
reg [15:0] clkdiv = 0;
reg have_data = 0;
- reg data_end = 0;
reg [3:0] diqing = 4'b0000;
wire new = (wr) && (!have_data) && decode;