Skip to content
Snippets Groups Projects
Commit 97dcaf39 authored by Peter Jansweijer's avatar Peter Jansweijer Committed by Grzegorz Daniluk
Browse files

wb_uart: default 1 during reset avoids receiving spurious characters after reset

Tried in real hardware and this works better.
parent b7cfb53c
Branches
Tags
No related merge requests found
......@@ -144,7 +144,7 @@ begin -- behavioral
begin
if rising_edge(clk_sys_i) then
if rst_n_i = '0' then
TxD <= '0';
TxD <= '1';
else
if(unsigned(state) < to_unsigned(4, state'length) or (state(3) = '1' and muxbit = '1')) then
TxD <= '1';
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment