We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3134c52 commit d68c36aCopy full SHA for d68c36a
source/uart.vhd
@@ -25,7 +25,7 @@
25
26
library IEEE;
27
use IEEE.STD_LOGIC_1164.ALL;
28
-use IEEE.STD_LOGIC_UNSIGNED.ALL;
+use IEEE.NUMERIC_STD.ALL;
29
30
entity UART is
31
Generic (
@@ -236,10 +236,7 @@ begin
236
rx_clk_divider : process (CLK)
237
begin
238
if (rising_edge(CLK)) then
239
- if (RST = '1') then
240
- rx_ticks <= half_divider_value;
241
- rx_clk_en <= '0';
242
- elsif (rx_clk_divider_en = '1') then
+ if (rx_clk_divider_en = '1') then
243
if (rx_ticks = divider_value-1) then
244
rx_ticks <= 0;
245
rx_clk_en <= '1';
0 commit comments