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

Updated FR_TYPE_IND for FDF_IND, ID_TYPE_IND for IDE_IND.

parent 4c2afd15
......@@ -634,8 +634,8 @@ begin
frame_form_w(DLC_H downto DLC_L) <= rec_dlc_in;
frame_form_w(4) <= '0';
frame_form_w(RTR_IND) <= rec_is_rtr;
frame_form_w(ID_TYPE_IND) <= rec_ident_type_in;
frame_form_w(FR_TYPE_IND) <= rec_frame_type_in;
frame_form_w(IDE_IND) <= rec_ident_type_in;
frame_form_w(FDF_IND) <= rec_frame_type_in;
frame_form_w(TBF_IND) <= '1'; -- All frames have the timestamp
frame_form_w(BRS_IND) <= rec_brs;
frame_form_w(ESI_RESVD_IND) <= rec_esi;
......
......@@ -514,8 +514,8 @@ begin
if (fsm_wait_state) then
fsm_wait_state <= false;
else
tran_frame_type_com <= txtb_selected_input(FR_TYPE_IND);
tran_ident_type_com <= txtb_selected_input(ID_TYPE_IND);
tran_frame_type_com <= txtb_selected_input(FDF_IND);
tran_ident_type_com <= txtb_selected_input(IDE_IND);
tran_dlc_com <= txtb_selected_input(DLC_H downto
DLC_L);
tran_is_rtr_com <= txtb_selected_input(RTR_IND);
......
......@@ -3321,8 +3321,8 @@ package body CANtestLib is
w_data := (OTHERS => '0');
w_data(DLC_H downto DLC_L) := frame.dlc;
w_data(RTR_IND) := frame.rtr;
w_data(ID_TYPE_IND) := frame.ident_type;
w_data(FR_TYPE_IND) := frame.frame_format;
w_data(IDE_IND) := frame.ident_type;
w_data(FDF_IND) := frame.frame_format;
w_data(TBF_IND) := '1';
w_data(BRS_IND) := frame.brs;
w_data(ESI_RESVD_IND) := '0'; -- ESI is receive only
......@@ -3431,8 +3431,8 @@ package body CANtestLib is
-- Parse frame format word
frame.dlc := frm_fmt_word(DLC_H downto DLC_L);
frame.rtr := frm_fmt_word(RTR_IND);
frame.ident_type := frm_fmt_word(ID_TYPE_IND);
frame.frame_format := frm_fmt_word(FR_TYPE_IND);
frame.ident_type := frm_fmt_word(IDE_IND);
frame.frame_format := frm_fmt_word(FDF_IND);
frame.brs := frm_fmt_word(BRS_IND);
frame.rwcnt := to_integer(unsigned(
frm_fmt_word(RWCNT_H downto RWCNT_L)));
......
......@@ -447,9 +447,9 @@ begin
mod_is_rtr <= shadow_mem(high_prio_buf_index)(0)
(RTR_IND);
mod_ident_type_out <= shadow_mem(high_prio_buf_index)(0)
(ID_TYPE_IND);
(IDE_IND);
mod_frame_type_out <= shadow_mem(high_prio_buf_index)(0)
(FR_TYPE_IND);
(FDF_IND);
mod_brs_out <= shadow_mem(high_prio_buf_index)(0)
(BRS_IND);
mod_frame_com <= '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