Commit 6014bdff authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

Bugfix of TXT Status formatting

parent 80991274
......@@ -24772,12 +24772,12 @@ Reset value\end_layout
\end_layout
\begin_layout Description
TX1S Status of TXT Buffer 2.\begin_inset Newline newline\end_inset
0b1010 - TXT_TRAN - Transmission from TXT Buffer is in progress.\begin_inset Newline newline\end_inset
0b1011 - TXT_ABTP - Transmission from TXT Buffer is in progress, stop trying at nearest error frame or arbitration lost.\begin_inset Newline newline\end_inset
0b1100100 - TXT_OK - Transmission from TXT Buffer finished OK.\begin_inset Newline newline\end_inset
0b1101110 - TXT_ERR - Transmission from TXT Buffer failed.\begin_inset Newline newline\end_inset
0b1101111 - TXT_ABT - Transmission from TXT Buffer was aborted by SW.\begin_inset Newline newline\end_inset
0b1111101000 - TXT_EMPTY - TXT Buffer is empty.
0b0010 - TXT_TRAN - Transmission from TXT Buffer is in progress.\begin_inset Newline newline\end_inset
0b0011 - TXT_ABTP - Transmission from TXT Buffer is in progress, stop trying at nearest error frame or arbitration lost.\begin_inset Newline newline\end_inset
0b0100 - TXT_OK - Transmission from TXT Buffer finished OK.\begin_inset Newline newline\end_inset
0b0110 - TXT_ERR - Transmission from TXT Buffer failed.\begin_inset Newline newline\end_inset
0b0111 - TXT_ABT - Transmission from TXT Buffer was aborted by SW.\begin_inset Newline newline\end_inset
0b1000 - TXT_EMPTY - TXT Buffer is empty.
\end_layout
\begin_layout Description
TX2S Status of TXT Buffer 1.
......
......@@ -2421,7 +2421,7 @@
<ipxact:bitOffset>4</ipxact:bitOffset>
<ipxact:resets>
<ipxact:reset>
<ipxact:value>1000</ipxact:value>
<ipxact:value>'h8</ipxact:value>
</ipxact:reset>
</ipxact:resets>
<ipxact:bitWidth>4</ipxact:bitWidth>
......@@ -2433,7 +2433,7 @@
<ipxact:bitOffset>0</ipxact:bitOffset>
<ipxact:resets>
<ipxact:reset>
<ipxact:value>1000</ipxact:value>
<ipxact:value>'h8</ipxact:value>
</ipxact:reset>
</ipxact:resets>
<ipxact:bitWidth>4</ipxact:bitWidth>
......@@ -2442,37 +2442,37 @@
<ipxact:name>TXT_EMPTY</ipxact:name>
<ipxact:displayName>TXT_EMPTY</ipxact:displayName>
<ipxact:description>TXT Buffer is empty.</ipxact:description>
<ipxact:value>1000</ipxact:value>
<ipxact:value>'h8</ipxact:value>
</ipxact:enumeratedValue>
<ipxact:enumeratedValue usage="read">
<ipxact:name>TXT_OK</ipxact:name>
<ipxact:displayName>TXT_OK</ipxact:displayName>
<ipxact:description>Transmission from TXT Buffer finished OK.</ipxact:description>
<ipxact:value>0100</ipxact:value>
<ipxact:value>'h4</ipxact:value>
</ipxact:enumeratedValue>
<ipxact:enumeratedValue usage="read">
<ipxact:name>TXT_ERR</ipxact:name>
<ipxact:displayName>TXT_ERR</ipxact:displayName>
<ipxact:description>Transmission from TXT Buffer failed.</ipxact:description>
<ipxact:value>0110</ipxact:value>
<ipxact:value>'h6</ipxact:value>
</ipxact:enumeratedValue>
<ipxact:enumeratedValue usage="read">
<ipxact:name>TXT_ABT</ipxact:name>
<ipxact:displayName>TXT_ABT</ipxact:displayName>
<ipxact:description>Transmission from TXT Buffer was aborted by SW.</ipxact:description>
<ipxact:value>0111</ipxact:value>
<ipxact:value>'h7</ipxact:value>
</ipxact:enumeratedValue>
<ipxact:enumeratedValue usage="read">
<ipxact:name>TXT_TRAN</ipxact:name>
<ipxact:displayName>TXT_TRAN</ipxact:displayName>
<ipxact:description>Transmission from TXT Buffer is in progress.</ipxact:description>
<ipxact:value>0010</ipxact:value>
<ipxact:value>'h2</ipxact:value>
</ipxact:enumeratedValue>
<ipxact:enumeratedValue usage="read">
<ipxact:name>TXT_ABTP</ipxact:name>
<ipxact:displayName>TXT_ABTP</ipxact:displayName>
<ipxact:description>Transmission from TXT Buffer is in progress, stop trying at nearest error frame or arbitration lost.</ipxact:description>
<ipxact:value>0011</ipxact:value>
<ipxact:value>'h3</ipxact:value>
</ipxact:enumeratedValue>
</ipxact:enumeratedValues>
</ipxact:field>
......
......@@ -795,16 +795,16 @@ package CAN_FD_register_map is
constant TX2S_H : natural := 7;
-- "TX1S" field enumerated values
constant TXT_TRAN : std_logic_vector(3 downto 0) := x"A";
constant TXT_ABTP : std_logic_vector(3 downto 0) := x"B";
constant TXT_OK : std_logic_vector(3 downto 0) := x"64";
constant TXT_ERR : std_logic_vector(3 downto 0) := x"6E";
constant TXT_ABT : std_logic_vector(3 downto 0) := x"6F";
constant TXT_EMPTY : std_logic_vector(3 downto 0) := x"3E8";
constant TXT_TRAN : std_logic_vector(3 downto 0) := x"2";
constant TXT_ABTP : std_logic_vector(3 downto 0) := x"3";
constant TXT_OK : std_logic_vector(3 downto 0) := x"4";
constant TXT_ERR : std_logic_vector(3 downto 0) := x"6";
constant TXT_ABT : std_logic_vector(3 downto 0) := x"7";
constant TXT_EMPTY : std_logic_vector(3 downto 0) := x"8";
-- TX_STATUS register reset values
constant TX2S_RSTVAL : std_logic_vector(3 downto 0) := x"3E8";
constant TX1S_RSTVAL : std_logic_vector(3 downto 0) := x"3E8";
constant TX2S_RSTVAL : std_logic_vector(3 downto 0) := x"8";
constant TX1S_RSTVAL : std_logic_vector(3 downto 0) := x"8";
------------------------------------------------------------------------------
-- TX_COMMAND register
......
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