phy: Fix TX manchester encoding
Ethernet uses "inverted" manchester as per IEEE 802.3.
This commit is contained in:
parent
1bcddf4273
commit
d1e0143c9d
@ -396,8 +396,8 @@ begin
|
|||||||
tx_p <= '1';
|
tx_p <= '1';
|
||||||
tx_n <= '0';
|
tx_n <= '0';
|
||||||
when ACTIVE =>
|
when ACTIVE =>
|
||||||
tx_p <= sr(sr'low) xor bit_stage;
|
tx_p <= sr(sr'low) xnor bit_stage;
|
||||||
tx_n <= not (sr(sr'low) xor bit_stage);
|
tx_n <= not (sr(sr'low) xnor bit_stage);
|
||||||
end case;
|
end case;
|
||||||
end if;
|
end if;
|
||||||
end process driver;
|
end process driver;
|
||||||
|
Loading…
Reference in New Issue
Block a user