phy: rx: Come up in disconnected state after reset

This commit is contained in:
Markus Koch 2021-08-28 14:25:23 +02:00
parent 0133fa8cce
commit 38f96cdc63

View File

@ -238,7 +238,7 @@ begin
nlp_timeout_p : process(clk, rst) is nlp_timeout_p : process(clk, rst) is
begin begin
if rst then if rst then
nlp_timeout_cnt <= NLP_TIMEOUT_CNT_MAX; nlp_timeout_cnt <= 0;
elsif rising_edge(clk) then elsif rising_edge(clk) then
if rx_edge then -- Technically, we should use only the rising edge here, but a project called `trashernet` probably won't mind ;) if rx_edge then -- Technically, we should use only the rising edge here, but a project called `trashernet` probably won't mind ;)
nlp_timeout_cnt <= NLP_TIMEOUT_CNT_MAX; nlp_timeout_cnt <= NLP_TIMEOUT_CNT_MAX;