From 6f837d8f5c71a1120863b3130da74f7dc4c7c48f Mon Sep 17 00:00:00 2001 From: "Ille, Ondrej, Ing" Date: Tue, 11 Sep 2018 21:12:39 +0200 Subject: [PATCH] Bug-fix. Feature test environment had Retransmitt limit enabled and set to 0. This caused that first error went to "Failed" instead of "Aborted" from "Abort in Progress". Signed-off-by: Ille, Ondrej, Ing --- test/feature/txtb_state_feature_tb.vhd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/feature/txtb_state_feature_tb.vhd b/test/feature/txtb_state_feature_tb.vhd index 00766c80..5990fb1f 100644 --- a/test/feature/txtb_state_feature_tb.vhd +++ b/test/feature/txtb_state_feature_tb.vhd @@ -134,11 +134,14 @@ package body txtb_state_feature is -- Generate CAN Frame to be used during the whole test. -- Use RTR frame to make the test shorter. -- Wait till the end of unit integration! + -- Disable Retransmitt limit Enable, so that TXT Buffers can end up + -- also in "TX Aborted" state! ------------------------------------------------------------------------ CAN_generate_frame(rand_ctr, CAN_frame); CAN_frame.rtr := RTR_FRAME; CAN_frame.frame_format := NORMAL_CAN; wait_rand_cycles(rand_ctr, mem_bus(1).clk_sys, 1600, 1601); + CAN_enable_retr_limit(false, 0, ID_1, mem_bus(1)); for i in 1 to TXT_BUFFER_COUNT loop -- GitLab