Compare commits
No commits in common. "d1e0143c9dd6bb9c893d8fa4a185f3900d45463e" and "afb545cd021961aee6f4d66259116d194454465e" have entirely different histories.
d1e0143c9d
...
afb545cd02
@ -56,7 +56,7 @@ begin
|
|||||||
signal bit_cnt : integer range 0 to 7;
|
signal bit_cnt : integer range 0 to 7;
|
||||||
|
|
||||||
-- NLP supervision
|
-- NLP supervision
|
||||||
constant NLP_TIMEOUT_CNT_MAX : integer := integer(round(real(F_CLK) * 16.0 * 10.0 ** (-3))) - 1; -- Every 16 ms
|
constant NLP_TIMEOUT_CNT_MAX : integer := integer(round(real(F_CLK) * 16.0 * 10.0 ** (-3))); -- Every 16 ms
|
||||||
signal nlp_timeout_cnt : integer range 0 to NLP_TIMEOUT_CNT_MAX;
|
signal nlp_timeout_cnt : integer range 0 to NLP_TIMEOUT_CNT_MAX;
|
||||||
begin
|
begin
|
||||||
-- Synchronize RX input
|
-- Synchronize RX input
|
||||||
@ -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) xnor bit_stage;
|
tx_p <= sr(sr'low) xor bit_stage;
|
||||||
tx_n <= not (sr(sr'low) xnor bit_stage);
|
tx_n <= not (sr(sr'low) xor bit_stage);
|
||||||
end case;
|
end case;
|
||||||
end if;
|
end if;
|
||||||
end process driver;
|
end process driver;
|
||||||
|
Loading…
Reference in New Issue
Block a user