Commit 68c4f4b4 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

test: Clarify ERR_CAPT description!

parent 34858aa3
......@@ -38881,8 +38881,8 @@ ERR_POS Position of last error.\begin_inset Newline newline\end_inset
0b00010 - ERC_POS_CTRL - Error in Control field\begin_inset Newline newline\end_inset
0b00011 - ERC_POS_DATA - Error in Data Field\begin_inset Newline newline\end_inset
0b00100 - ERC_POS_CRC - Error in CRC Field\begin_inset Newline newline\end_inset
0b00101 - ERC_POS_ACK - Error in Acknowledge field or CRC delimiter\begin_inset Newline newline\end_inset
0b00110 - ERC_POS_INTF - Error in interframe space\begin_inset Newline newline\end_inset
0b00101 - ERC_POS_ACK - Error in CRC delimiter, ACK field or ACK delimiter\begin_inset Newline newline\end_inset
0b00110 - ERC_POS_EOF - Error in End of frame field\begin_inset Newline newline\end_inset
0b00111 - ERC_POS_ERR - Error during Error frame\begin_inset Newline newline\end_inset
0b01000 - ERC_POS_OVRL - Error in Overload frame\begin_inset Newline newline\end_inset
0b11111 - ERC_POS_OTHER - Other position of error
......@@ -830,7 +830,7 @@ enum ctu_can_fd_err_capt_err_pos {
ERC_POS_DATA = 0x3,
ERC_POS_CRC = 0x4,
ERC_POS_ACK = 0x5,
ERC_POS_INTF = 0x6,
ERC_POS_EOF = 0x6,
ERC_POS_ERR = 0x7,
ERC_POS_OVRL = 0x8,
ERC_POS_OTHER = 0x1f,
......
......@@ -1754,15 +1754,15 @@
<ipxact:value>4</ipxact:value>
</ipxact:enumeratedValue>
<ipxact:enumeratedValue>
<ipxact:name>ERC_POS_INTF</ipxact:name>
<ipxact:displayName>ERC_POS_INTF</ipxact:displayName>
<ipxact:description>Error in interframe space</ipxact:description>
<ipxact:name>ERC_POS_EOF</ipxact:name>
<ipxact:displayName>ERC_POS_EOF</ipxact:displayName>
<ipxact:description>Error in End of frame field</ipxact:description>
<ipxact:value>6</ipxact:value>
</ipxact:enumeratedValue>
<ipxact:enumeratedValue>
<ipxact:name>ERC_POS_ACK</ipxact:name>
<ipxact:displayName>ERC_POS_ACK</ipxact:displayName>
<ipxact:description>Error in Acknowledge field or CRC delimiter</ipxact:description>
<ipxact:description>Error in CRC delimiter, ACK field or ACK delimiter</ipxact:description>
<ipxact:value>5</ipxact:value>
</ipxact:enumeratedValue>
</ipxact:enumeratedValues>
......@@ -3092,12 +3092,12 @@
<kactus2:kts_firmness>Mutable</kactus2:kts_firmness>
</kactus2:kts_attributes>
<ipxact:regLocks>
<ipxact:regLock description="Register can be only written when MODE[TSTM] = 1, otherwise write has no effect." lock_signal="lock_1" reg_name="CTR_PRES"/>
<ipxact:regLock description="Register can be only written when MODE[TSTM] = 1, otherwise write has no effect." lock_signal="lock_1" reg_name="EWL"/>
<ipxact:regLock description="Register can be only written when MODE[TSTM] = 1, otherwise write has no effect." lock_signal="lock_1" reg_name="ERP"/>
<ipxact:regLock description="Register can be only written when SETTINGS[ENA] = 0, otherwise write has no effect." lock_signal="lock_2" reg_name="BTR"/>
<ipxact:regLock description="Register can be only written when SETTINGS[ENA] = 0, otherwise write has no effect." lock_signal="lock_2" reg_name="BTR_FD"/>
<ipxact:regLock description="Register can be only written when SETTINGS[ENA] = 0, otherwise write has no effect." lock_signal="lock_2" reg_name="SSP_CFG"/>
<ipxact:regLock lock_signal="lock_1" reg_name="CTR_PRES" description="Register can be only written when MODE[TSTM] = 1, otherwise write has no effect."/>
<ipxact:regLock lock_signal="lock_1" reg_name="EWL" description="Register can be only written when MODE[TSTM] = 1, otherwise write has no effect."/>
<ipxact:regLock lock_signal="lock_1" reg_name="ERP" description="Register can be only written when MODE[TSTM] = 1, otherwise write has no effect."/>
<ipxact:regLock lock_signal="lock_2" reg_name="BTR" description="Register can be only written when SETTINGS[ENA] = 0, otherwise write has no effect."/>
<ipxact:regLock lock_signal="lock_2" reg_name="BTR_FD" description="Register can be only written when SETTINGS[ENA] = 0, otherwise write has no effect."/>
<ipxact:regLock lock_signal="lock_2" reg_name="SSP_CFG" description="Register can be only written when SETTINGS[ENA] = 0, otherwise write has no effect."/>
</ipxact:regLocks>
<kactus2:license>MIT</kactus2:license>
</ipxact:vendorExtensions>
......
......@@ -2136,7 +2136,7 @@ begin
when s_pc_eof =>
ctrl_ctr_ena <= '1';
is_eof <= '1';
err_pos <= ERC_POS_INTF;
err_pos <= ERC_POS_EOF;
nbt_ctrs_en <= '1';
bit_err_disable <= '1';
......
......@@ -1249,7 +1249,7 @@ package can_fd_register_map is
constant ERC_POS_DATA : std_logic_vector(4 downto 0) := "00011";
constant ERC_POS_CRC : std_logic_vector(4 downto 0) := "00100";
constant ERC_POS_ACK : std_logic_vector(4 downto 0) := "00101";
constant ERC_POS_INTF : std_logic_vector(4 downto 0) := "00110";
constant ERC_POS_EOF : std_logic_vector(4 downto 0) := "00110";
constant ERC_POS_ERR : std_logic_vector(4 downto 0) := "00111";
constant ERC_POS_OVRL : std_logic_vector(4 downto 0) := "01000";
constant ERC_POS_OTHER : std_logic_vector(4 downto 0) := "11111";
......
......@@ -278,7 +278,7 @@ package CANtestLib is
err_pos_data,
err_pos_crc,
err_pos_ack,
err_pos_interframe_space,
err_pos_eof,
err_pos_err_frame,
err_pos_overload_frame,
err_pos_other
......@@ -5081,7 +5081,7 @@ package body CANtestLib is
when ERC_POS_DATA => err_capt.err_pos := err_pos_data;
when ERC_POS_CRC => err_capt.err_pos := err_pos_crc;
when ERC_POS_ACK => err_capt.err_pos := err_pos_ack;
when ERC_POS_INTF => err_capt.err_pos := err_pos_interframe_space;
when ERC_POS_EOF => err_capt.err_pos := err_pos_eof;
when ERC_POS_ERR => err_capt.err_pos := err_pos_err_frame;
when ERC_POS_OVRL => err_capt.err_pos := err_pos_overload_frame;
when ERC_POS_OTHER => err_capt.err_pos := err_pos_other;
......
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