Skip to content

Commit

Permalink
Fix UART receiver
Browse files Browse the repository at this point in the history
According to stnolting#890
[bug] uart issue after stnolting#883 upd

The change is in neorv32_uart.vhd file
In 289 line:
From rx_engine.sreg(8 downto 1) to rx_engine.sreg(7 downto 0)
  • Loading branch information
Unike267 authored and Unai267 committed May 2, 2024
1 parent e2fa5c7 commit bae3a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtl/core/neorv32_uart.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ begin
);

rx_fifo.clear <= '1' when (ctrl.enable = '0') or (ctrl.sim_mode = '1') else '0';
rx_fifo.wdata <= rx_engine.sreg(8 downto 1);
rx_fifo.wdata <= rx_engine.sreg(7 downto 0);
rx_fifo.we <= rx_engine.done;
rx_fifo.re <= '1' when (bus_req_i.stb = '1') and (bus_req_i.rw = '0') and (bus_req_i.addr(2) = '1') else '0';

Expand Down

0 comments on commit bae3a90

Please sign in to comment.