Commit b42b6b06 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

src: Bug-fix of Protocol control.

Bit-error in IDE field must be detected always, it is impossible
for it to happend only when "ide_is_arbitration" is true!
parent c7f1e938
......@@ -1606,7 +1606,6 @@ begin
-------------------------------------------------------------------
when s_pc_ide =>
rx_store_ide_i <= '1';
bit_err_disable <= '1';
crc_enable <= '1';
txtb_ptr_d <= 1;
alc_id_field <= ALC_IDE;
......@@ -1631,13 +1630,14 @@ begin
if (ide_is_arbitration = '1') then
is_arbitration_i <= '1';
bit_err_disable <= '1';
else
is_control <= '1';
end if;
if (tx_data_wbs = DOMINANT and rx_data_nbs = RECESSIVE) then
bit_err_arb_i <= '1';
end if;
else
is_control <= '1';
end if;
if (is_transmitter = '1' and tran_ident_type = BASE) then
tx_dominant <= '1';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment