Commit 2505cdf3 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

Added txt buffer priority to reset values.

parent b94d4071
......@@ -407,6 +407,7 @@ architecture rtl of canfd_registers is
signal txt_buf_set_abort :out std_logic;
signal txt_buf_cmd_index :out
std_logic_vector(TXT_BUFFER_COUNT - 1 downto 0);
signal txt_buf_prior :out txtb_priorities_type;
signal intLoopbackEna :out std_logic;
signal log_trig_config :out std_logic_vector(31 downto 0);
......@@ -522,6 +523,9 @@ architecture rtl of canfd_registers is
txt_buf_set_abort <= TXCA_RSTVAL;
txt_buf_cmd_index(0) <= TXI1_RSTVAL;
txt_buf_cmd_index(1) <= TXI2_RSTVAL;
txt_buf_prior(0) <= TXT1P_RSTVAL;
txt_buf_prior(1) <= TXT2P_RSTVAL;
end procedure;
......@@ -671,7 +675,7 @@ begin
filter_ran_high ,filter_A_ctrl ,filter_B_ctrl ,
filter_C_ctrl ,filter_ran_ctrl ,
txt_sw_cmd.set_ety ,txt_sw_cmd.set_rdy ,
txt_sw_cmd.set_abt ,txt_buf_cmd_index ,
txt_sw_cmd.set_abt ,txt_buf_cmd_index ,txt_buf_prior ,
intLoopbackEna ,log_trig_config ,
log_capt_config ,log_cmd ,rx_ctr_set ,
tx_ctr_set ,ctr_val_set ,CAN_enable ,
......@@ -705,7 +709,7 @@ begin
filter_ran_high ,filter_A_ctrl ,filter_B_ctrl ,
filter_C_ctrl ,filter_ran_ctrl ,
txt_sw_cmd.set_ety ,txt_sw_cmd.set_rdy ,
txt_sw_cmd.set_abt ,txt_buf_cmd_index ,
txt_sw_cmd.set_abt ,txt_buf_cmd_index ,txt_buf_prior ,
intLoopbackEna ,log_trig_config ,
log_capt_config ,log_cmd ,
rx_ctr_set ,tx_ctr_set ,
......@@ -787,6 +791,7 @@ begin
txt_sw_cmd.set_ety <= '0';
txt_sw_cmd.set_rdy <= '0';
txt_sw_cmd.set_abt <= '0';
txt_buf_cmd_index <= (OTHERS => '0');
--Chip select active and our device is selected (Component type and ID)
if((scs=ACT_CSC) and
......
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