phy: tx: Fix TX startup handling
This commit is contained in:
parent
9afdb984f9
commit
29bbb50f6a
@ -283,7 +283,7 @@ begin
|
||||
sr <= tx_data;
|
||||
bit_stage <= '0';
|
||||
bit_cnt <= BIT_CNT_MAX_DATA;
|
||||
tx_data_ack <= '0';
|
||||
tx_data_ack <= '1';
|
||||
end procedure transmit_byte;
|
||||
|
||||
procedure transmit_ipg is
|
||||
@ -342,6 +342,7 @@ begin
|
||||
when IDLE =>
|
||||
if tx_data_en then -- New packet to TX
|
||||
transmit_byte;
|
||||
bit_stage <= '1';
|
||||
tx_stb_cnt <= TX_STB_CNT_MAX; -- resync
|
||||
|
||||
elsif bit_cnt = 0 then -- NLP timeout
|
||||
|
Loading…
Reference in New Issue
Block a user