phy: Fix TX manchester encoding

Ethernet uses "inverted" manchester as per IEEE 802.3.
This commit is contained in:
Markus Koch 2022-01-23 16:02:31 +01:00
parent 1bcddf4273
commit d1e0143c9d

View File

@ -396,8 +396,8 @@ begin
tx_p <= '1';
tx_n <= '0';
when ACTIVE =>
tx_p <= sr(sr'low) xor bit_stage;
tx_n <= not (sr(sr'low) xor bit_stage);
tx_p <= sr(sr'low) xnor bit_stage;
tx_n <= not (sr(sr'low) xnor bit_stage);
end case;
end if;
end process driver;