phy: rx: Come up in disconnected state after reset
This commit is contained in:
parent
0133fa8cce
commit
38f96cdc63
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user