X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/a85b19a7c7e7fecb4e71c41b37fb30dabaf8bd14..fc443a4f61b38236a17ab2928bd90327edc68266:/Uart.v diff --git a/Uart.v b/Uart.v index a036c64..3dd1532 100644 --- a/Uart.v +++ b/Uart.v @@ -9,7 +9,7 @@ module UART( input rd, input [15:0] addr, inout [7:0] data, - output reg serial); + output reg serial = 1); wire decode = (addr == `MMAP_ADDR); @@ -19,7 +19,6 @@ module UART( 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;