Commit 91cb76a1 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

test: Debug TXT Buffer unit test.

TXT Buffer unit test must take into account bug-fix of
simultaneous Abort and Unlock from CAN Core. In such case
buffer shall go to Aborted so that Set abort command is
not lost!
parent ac11999f
......@@ -163,7 +163,11 @@ architecture tx_buf_unit_test of CAN_test is
if (hw_cmd.valid = '1') then
exp_state <= TXT_TOK;
elsif (hw_cmd.err = '1' or hw_cmd.arbl = '1') then
exp_state <= TXT_RDY;
if (sw_cmd.set_abt = '1') then
exp_state <= TXT_ABT;
exp_state <= TXT_RDY;
end if;
elsif (hw_cmd.failed = '1') then
exp_state <= TXT_ERR;
end if;
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