MCR register is not readable from address `UART_REG_MC.
The following fix :
`UART_REG_MS : wb_dat_o = msr;
`UART_REG_SR : wb_dat_o = scratch;
default: wb_dat_o = 8'b0; // ??
endcase // case(wb_addr_i)
changed to :
`UART_REG_MS : wb_dat_o = msr;
`UART_REG_SR : wb_dat_o = scratch;
`UART_REG_MC : wb_dat_o = {4'b000, mcr };
default: wb_dat_o = 8'b0; // ??
endcase // case(wb_addr_i)
and update the sensitivity list : always @(dl or dlab or ier or iir or scratch or lcr or lsr or msr or rf_data_out or wb_addr_i or wb_re_i )
changed to :
always @(dl or dlab or ier or iir or scratch or lcr or lsr or msr or rf_data_out or wb_addr_i or wb_re_i or mcr)
Type your text here