Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
canbus
CTU CAN FD IP Core
Commits
2630ed9c
Commit
2630ed9c
authored
Dec 07, 2019
by
Ille, Ondrej, Ing.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: Remove "outcome" from feature tests, not used anymore.
Each error now kills the test by "error" log!
parent
a25519a3
Changes
71
Hide whitespace changes
Inline
Side-by-side
Showing
71 changed files
with
0 additions
and
221 deletions
+0
-221
test/feature/alc_base_id_feature_tb.vhd
test/feature/alc_base_id_feature_tb.vhd
+0
-3
test/feature/alc_id_extension_feature_tb.vhd
test/feature/alc_id_extension_feature_tb.vhd
+0
-3
test/feature/alc_ide_feature_tb.vhd
test/feature/alc_ide_feature_tb.vhd
+0
-3
test/feature/alc_rtr_r0_feature_tb.vhd
test/feature/alc_rtr_r0_feature_tb.vhd
+0
-3
test/feature/alc_srr_rtr_2_feature_tb.vhd
test/feature/alc_srr_rtr_2_feature_tb.vhd
+0
-3
test/feature/alc_srr_rtr_feature_tb.vhd
test/feature/alc_srr_rtr_feature_tb.vhd
+0
-3
test/feature/btr_fd_feature_tb.vhd
test/feature/btr_fd_feature_tb.vhd
+0
-3
test/feature/btr_feature_tb.vhd
test/feature/btr_feature_tb.vhd
+0
-3
test/feature/btr_ssp_access_feature_tb.vhd
test/feature/btr_ssp_access_feature_tb.vhd
+0
-3
test/feature/bus_start_feature_tb.vhd
test/feature/bus_start_feature_tb.vhd
+0
-3
test/feature/byte_enable_feature_tb.vhd
test/feature/byte_enable_feature_tb.vhd
+0
-3
test/feature/command_cdo_feature_tb.vhd
test/feature/command_cdo_feature_tb.vhd
+0
-3
test/feature/command_frcrst_feature_tb.vhd
test/feature/command_frcrst_feature_tb.vhd
+0
-3
test/feature/command_rrb_feature_tb.vhd
test/feature/command_rrb_feature_tb.vhd
+0
-3
test/feature/device_id_feature_tb.vhd
test/feature/device_id_feature_tb.vhd
+0
-3
test/feature/dlc_can20_8_64_bytes_feature_tb.vhd
test/feature/dlc_can20_8_64_bytes_feature_tb.vhd
+0
-3
test/feature/err_norm_fd_feature_tb.vhd
test/feature/err_norm_fd_feature_tb.vhd
+0
-3
test/feature/error_rules_a_feature_tb.vhd
test/feature/error_rules_a_feature_tb.vhd
+0
-3
test/feature/error_rules_b_feature_tb.vhd
test/feature/error_rules_b_feature_tb.vhd
+0
-3
test/feature/error_rules_c_feature_tb.vhd
test/feature/error_rules_c_feature_tb.vhd
+0
-3
test/feature/error_rules_d_feature_tb.vhd
test/feature/error_rules_d_feature_tb.vhd
+0
-3
test/feature/error_rules_e_feature_tb.vhd
test/feature/error_rules_e_feature_tb.vhd
+0
-3
test/feature/fault_state_feature_tb.vhd
test/feature/fault_state_feature_tb.vhd
+0
-3
test/feature/int_do_feature_tb.vhd
test/feature/int_do_feature_tb.vhd
+0
-3
test/feature/int_ewl_feature_tb.vhd
test/feature/int_ewl_feature_tb.vhd
+0
-3
test/feature/int_fcs_feature_tb.vhd
test/feature/int_fcs_feature_tb.vhd
+0
-3
test/feature/int_rx_feature_tb.vhd
test/feature/int_rx_feature_tb.vhd
+0
-3
test/feature/int_tx_feature_tb.vhd
test/feature/int_tx_feature_tb.vhd
+0
-3
test/feature/invalid_configs_feature_tb.vhd
test/feature/invalid_configs_feature_tb.vhd
+0
-3
test/feature/message_filter_feature_tb.vhd
test/feature/message_filter_feature_tb.vhd
+0
-3
test/feature/mode_fd_enable_feature_tb.vhd
test/feature/mode_fd_enable_feature_tb.vhd
+0
-3
test/feature/mode_frame_filters_feature_tb.vhd
test/feature/mode_frame_filters_feature_tb.vhd
+0
-3
test/feature/mode_listen_only_feature_tb.vhd
test/feature/mode_listen_only_feature_tb.vhd
+0
-3
test/feature/mode_loopback_feature_tb.vhd
test/feature/mode_loopback_feature_tb.vhd
+0
-3
test/feature/mode_rst_feature_tb.vhd
test/feature/mode_rst_feature_tb.vhd
+0
-3
test/feature/mode_self_test_feature_tb.vhd
test/feature/mode_self_test_feature_tb.vhd
+0
-3
test/feature/mode_test_feature_tb.vhd
test/feature/mode_test_feature_tb.vhd
+0
-3
test/feature/no_sof_tx_feature_tb.vhd
test/feature/no_sof_tx_feature_tb.vhd
+0
-3
test/feature/one_shot_feature_tb.vhd
test/feature/one_shot_feature_tb.vhd
+0
-3
test/feature/overload_feature_tb.vhd
test/feature/overload_feature_tb.vhd
+0
-3
test/feature/pkg_feature_exec_dispatch.vhd
test/feature/pkg_feature_exec_dispatch.vhd
+0
-5
test/feature/rec_saturation_feature_tb.vhd
test/feature/rec_saturation_feature_tb.vhd
+0
-3
test/feature/retr_limit_2_feature_tb.vhd
test/feature/retr_limit_2_feature_tb.vhd
+0
-3
test/feature/retr_limit_3_feature_tb.vhd
test/feature/retr_limit_3_feature_tb.vhd
+0
-3
test/feature/retr_limit_feature_tb.vhd
test/feature/retr_limit_feature_tb.vhd
+0
-3
test/feature/rx_buf_empty_read_feature_tb.vhd
test/feature/rx_buf_empty_read_feature_tb.vhd
+0
-3
test/feature/rx_counter_feature_tb.vhd
test/feature/rx_counter_feature_tb.vhd
+0
-3
test/feature/rx_settings_rtsop_feature_tb.vhd
test/feature/rx_settings_rtsop_feature_tb.vhd
+0
-3
test/feature/rx_status_feature_tb.vhd
test/feature/rx_status_feature_tb.vhd
+0
-3
test/feature/ssp_offset_feature_tb.vhd
test/feature/ssp_offset_feature_tb.vhd
+0
-3
test/feature/status_eft_feature_tb.vhd
test/feature/status_eft_feature_tb.vhd
+0
-3
test/feature/status_ewl_feature_tb.vhd
test/feature/status_ewl_feature_tb.vhd
+0
-3
test/feature/status_idle_feature_tb.vhd
test/feature/status_idle_feature_tb.vhd
+0
-3
test/feature/status_rxne_feature_tb.vhd
test/feature/status_rxne_feature_tb.vhd
+0
-3
test/feature/status_rxs_feature_tb.vhd
test/feature/status_rxs_feature_tb.vhd
+0
-3
test/feature/status_txnf_feature_tb.vhd
test/feature/status_txnf_feature_tb.vhd
+0
-3
test/feature/status_txs_feature_tb.vhd
test/feature/status_txs_feature_tb.vhd
+0
-3
test/feature/stuff_in_data_feature_tb.vhd
test/feature/stuff_in_data_feature_tb.vhd
+0
-3
test/feature/tb_feature.vhd
test/feature/tb_feature.vhd
+0
-9
test/feature/timestamp_low_high_feature_tb.vhd
test/feature/timestamp_low_high_feature_tb.vhd
+0
-3
test/feature/trv_delay_feature_tb.vhd
test/feature/trv_delay_feature_tb.vhd
+0
-3
test/feature/tx_arb_time_tran_feature_tb.vhd
test/feature/tx_arb_time_tran_feature_tb.vhd
+0
-3
test/feature/tx_cmd_set_abort_feature_tb.vhd
test/feature/tx_cmd_set_abort_feature_tb.vhd
+0
-3
test/feature/tx_cmd_set_empty_feature_tb.vhd
test/feature/tx_cmd_set_empty_feature_tb.vhd
+0
-3
test/feature/tx_cmd_set_ready_feature_tb.vhd
test/feature/tx_cmd_set_ready_feature_tb.vhd
+0
-3
test/feature/tx_counter_feature_tb.vhd
test/feature/tx_counter_feature_tb.vhd
+0
-3
test/feature/tx_from_intermission_feature_tb.vhd
test/feature/tx_from_intermission_feature_tb.vhd
+0
-3
test/feature/tx_priority_feature_tb.vhd
test/feature/tx_priority_feature_tb.vhd
+0
-3
test/feature/tx_status_feature_tb.vhd
test/feature/tx_status_feature_tb.vhd
+0
-3
test/feature/txt_buffer_hazard_feature_tb.vhd
test/feature/txt_buffer_hazard_feature_tb.vhd
+0
-3
test/testfw/data/pkg_feature_exec_dispath-body.vhd
test/testfw/data/pkg_feature_exec_dispath-body.vhd
+0
-3
No files found.
test/feature/alc_base_id_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -84,7 +84,6 @@ use lib.pkg_feature_exec_dispath.all;
package
alc_base_id_feature
is
procedure
alc_base_id_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -96,7 +95,6 @@ end package;
package
body
alc_base_id_feature
is
procedure
alc_base_id_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -134,7 +132,6 @@ package body alc_base_id_feature is
variable
id_var
:
std_logic_vector
(
10
downto
0
)
:
=
(
OTHERS
=>
'0'
);
begin
o
.
outcome
:
=
true
;
------------------------------------------------------------------------
-- 1. Configure both Nodes to one-shot mode.
...
...
test/feature/alc_id_extension_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -82,7 +82,6 @@ use lib.pkg_feature_exec_dispath.all;
package
alc_id_extension_feature
is
procedure
alc_id_extension_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -94,7 +93,6 @@ end package;
package
body
alc_id_extension_feature
is
procedure
alc_id_extension_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -132,7 +130,6 @@ package body alc_id_extension_feature is
variable
id_var
:
std_logic_vector
(
28
downto
0
)
:
=
(
OTHERS
=>
'0'
);
begin
o
.
outcome
:
=
true
;
------------------------------------------------------------------------
-- 1. Configure both Nodes to one-shot mode.
...
...
test/feature/alc_ide_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -71,7 +71,6 @@ use lib.pkg_feature_exec_dispath.all;
package
alc_ide_feature
is
procedure
alc_ide_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -83,7 +82,6 @@ end package;
package
body
alc_ide_feature
is
procedure
alc_ide_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -118,7 +116,6 @@ package body alc_ide_feature is
variable
id_vect
:
std_logic_vector
(
28
downto
0
);
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Configure both Nodes to one-shot mode.
...
...
test/feature/alc_rtr_r0_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -73,7 +73,6 @@ use lib.pkg_feature_exec_dispath.all;
package
alc_rtr_r0_feature
is
procedure
alc_rtr_r0_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -85,7 +84,6 @@ end package;
package
body
alc_rtr_r0_feature
is
procedure
alc_rtr_r0_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -120,7 +118,6 @@ package body alc_rtr_r0_feature is
variable
id_vect
:
std_logic_vector
(
28
downto
0
);
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Configure both Nodes to one-shot mode.
...
...
test/feature/alc_srr_rtr_2_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -79,7 +79,6 @@ use lib.pkg_feature_exec_dispath.all;
package
alc_srr_rtr_2_feature
is
procedure
alc_srr_rtr_2_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -91,7 +90,6 @@ end package;
package
body
alc_srr_rtr_2_feature
is
procedure
alc_srr_rtr_2_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -126,7 +124,6 @@ package body alc_srr_rtr_2_feature is
variable
id_vect
:
std_logic_vector
(
28
downto
0
);
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Configure both Nodes to one-shot mode.
...
...
test/feature/alc_srr_rtr_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -80,7 +80,6 @@ use lib.pkg_feature_exec_dispath.all;
package
alc_srr_rtr_feature
is
procedure
alc_srr_rtr_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -92,7 +91,6 @@ end package;
package
body
alc_srr_rtr_feature
is
procedure
alc_srr_rtr_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -127,7 +125,6 @@ package body alc_srr_rtr_feature is
variable
id_vect
:
std_logic_vector
(
28
downto
0
);
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Configure both Nodes to one-shot mode.
...
...
test/feature/btr_fd_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -68,7 +68,6 @@ use lib.pkg_feature_exec_dispath.all;
package
btr_fd_feature
is
procedure
btr_fd_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -80,7 +79,6 @@ end package;
package
body
btr_fd_feature
is
procedure
btr_fd_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -109,7 +107,6 @@ package body btr_fd_feature is
variable
clock_meas
:
natural
:
=
0
;
variable
frames_equal
:
boolean
;
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Disable both Nodes. Generate random bit-rate and configure it sa
...
...
test/feature/btr_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -66,7 +66,6 @@ use lib.pkg_feature_exec_dispath.all;
package
btr_feature
is
procedure
btr_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -78,7 +77,6 @@ end package;
package
body
btr_feature
is
procedure
btr_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -107,7 +105,6 @@ package body btr_feature is
variable
clock_meas
:
natural
:
=
0
;
variable
frames_equal
:
boolean
;
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Disable both Nodes. Generate random bit-rate and configure it sa
...
...
test/feature/btr_ssp_access_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -64,7 +64,6 @@ use lib.pkg_feature_exec_dispath.all;
package
btr_ssp_access_feature
is
procedure
btr_ssp_access_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -76,7 +75,6 @@ end package;
package
body
btr_ssp_access_feature
is
procedure
btr_ssp_access_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -108,7 +106,6 @@ package body btr_ssp_access_feature is
variable
rand_value
:
std_logic_vector
(
31
downto
0
)
:
=
(
OTHERS
=>
'0'
);
begin
o
.
outcome
:
=
true
;
----------------------------------------------------------------------
-- 1. Read values in BTR, BTR_FD and SSP_CFG registers. Try to write
...
...
test/feature/bus_start_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -74,7 +74,6 @@ use lib.pkg_feature_exec_dispath.all;
package
bus_start_feature
is
procedure
bus_start_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -86,7 +85,6 @@ end package;
package
body
bus_start_feature
is
procedure
bus_start_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -109,7 +107,6 @@ package body bus_start_feature is
variable
status
:
SW_status
;
begin
o
.
outcome
:
=
true
;
------------------------------------------------------------------------
-- 1. Disable both Nodes. Insert 2 frames to Node 1. Check both Nodes
...
...
test/feature/byte_enable_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -71,7 +71,6 @@ use lib.pkg_feature_exec_dispath.all;
package
byte_enable_feature
is
procedure
byte_enable_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -84,7 +83,6 @@ end package;
package
body
byte_enable_feature
is
procedure
byte_enable_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -98,7 +96,6 @@ package body byte_enable_feature is
variable
ID
:
natural
:
=
1
;
variable
errmsg
:
line
;
begin
o
.
outcome
:
=
true
;
------------------------------------------------------------------------
-- 1. Disable Node 1 (so that BTR, BTR_FD are writable). Read 32-bit
...
...
test/feature/command_cdo_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -74,7 +74,6 @@ use lib.pkg_feature_exec_dispath.all;
package
command_cdo_feature
is
procedure
command_cdo_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -86,7 +85,6 @@ end package;
package
body
command_cdo_feature
is
procedure
command_cdo_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -122,7 +120,6 @@ package body command_cdo_feature is
variable
id_vect
:
std_logic_vector
(
28
downto
0
);
variable
command
:
SW_command
:
=
SW_command_rst_val
;
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Read size of RX Buffer in Node 1. Check that DOR flag is not set.
...
...
test/feature/command_frcrst_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -68,7 +68,6 @@ use lib.pkg_feature_exec_dispath.all;
package
command_frcrst_feature
is
procedure
command_frcrst_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -80,7 +79,6 @@ end package;
package
body
command_frcrst_feature
is
procedure
command_frcrst_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -120,7 +118,6 @@ package body command_frcrst_feature is
variable
traff_ctrs_2
:
SW_traffic_counters
;
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Generate and send frame by Node 2. Check that TX frame counter of
...
...
test/feature/command_rrb_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -73,7 +73,6 @@ use lib.pkg_feature_exec_dispath.all;
package
command_rrb_feature
is
procedure
command_rrb_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -85,7 +84,6 @@ end package;
package
body
command_rrb_feature
is
procedure
command_rrb_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -121,7 +119,6 @@ package body command_rrb_feature is
variable
id_vect
:
std_logic_vector
(
28
downto
0
);
variable
command
:
SW_command
:
=
SW_command_rst_val
;
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Check RX buffer in Node 1 is empty. Generate CAN frame and send
...
...
test/feature/device_id_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -60,7 +60,6 @@ use lib.pkg_feature_exec_dispath.all;
package
device_id_feature
is
procedure
device_id_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -72,7 +71,6 @@ end package;
package
body
device_id_feature
is
procedure
device_id_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -107,7 +105,6 @@ package body device_id_feature is
variable
id_vect
:
std_logic_vector
(
28
downto
0
);
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Read device ID and check it.
...
...
test/feature/dlc_can20_8_64_bytes_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -67,7 +67,6 @@ use lib.pkg_feature_exec_dispath.all;
package
dlc_can20_8_64_bytes_feature
is
procedure
dlc_can20_8_64_bytes_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -79,7 +78,6 @@ end package;
package
body
dlc_can20_8_64_bytes_feature
is
procedure
dlc_can20_8_64_bytes_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -95,7 +93,6 @@ package body dlc_can20_8_64_bytes_feature is
variable
frame_sent
:
boolean
;
variable
pc_dbg
:
SW_PC_Debug
;
begin
o
.
outcome
:
=
true
;
------------------------------------------------------------------------
-- 1. Generate CAN 2.0 Frame and set DLC higher than 8. Set higher data
...
...
test/feature/err_norm_fd_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -77,7 +77,6 @@ use lib.pkg_feature_exec_dispath.all;
package
err_norm_fd_feature
is
procedure
err_norm_fd_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -89,7 +88,6 @@ end package;
package
body
err_norm_fd_feature
is
procedure
err_norm_fd_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -134,7 +132,6 @@ package body err_norm_fd_feature is
variable
frame_sent
:
boolean
;
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Generate random frame where bit rate is not switched. Insert the
...
...
test/feature/error_rules_a_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -72,7 +72,6 @@ use lib.pkg_feature_exec_dispath.all;
package
error_rules_a_feature
is
procedure
error_rules_a_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -83,7 +82,6 @@ end package;
package
body
error_rules_a_feature
is
procedure
error_rules_a_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -108,7 +106,6 @@ package body error_rules_a_feature is
variable
err_counters_3
:
SW_error_counters
:
=
(
0
,
0
,
0
,
0
);
variable
err_counters_4
:
SW_error_counters
:
=
(
0
,
0
,
0
,
0
);
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Send CAN frame by Node 2. Wait until Node 2 is post arbitration
...
...
test/feature/error_rules_b_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -73,7 +73,6 @@ use lib.pkg_feature_exec_dispath.all;
package
error_rules_b_feature
is
procedure
error_rules_b_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -84,7 +83,6 @@ end package;
package
body
error_rules_b_feature
is
procedure
error_rules_b_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -110,7 +108,6 @@ package body error_rules_b_feature is
variable
err_counters_3
:
SW_error_counters
:
=
(
0
,
0
,
0
,
0
);
variable
err_counters_4
:
SW_error_counters
:
=
(
0
,
0
,
0
,
0
);
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Set Node 2 not to accept CAN FD frames. Transmitt CAN FD frame by
...
...
test/feature/error_rules_c_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -85,7 +85,6 @@ use lib.pkg_feature_exec_dispath.all;
package
error_rules_c_feature
is
procedure
error_rules_c_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -96,7 +95,6 @@ end package;
package
body
error_rules_c_feature
is
procedure
error_rules_c_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -126,7 +124,6 @@ package body error_rules_c_feature is
variable
err_capt
:
SW_error_capture
;
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Set Node 2 to ACK forbidden and test modes. Set Node 1 to One-shot
...
...
test/feature/error_rules_d_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -73,7 +73,6 @@ use lib.pkg_feature_exec_dispath.all;
package
error_rules_d_feature
is
procedure
error_rules_d_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -84,7 +83,6 @@ end package;
package
body
error_rules_d_feature
is
procedure
error_rules_d_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -116,7 +114,6 @@ package body error_rules_d_feature is
variable
bit_waits
:
natural
:
=
0
;
variable
pc_dbg
:
SW_PC_Debug
;
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Set Node 2 to ACK forbidden mode. Generate CAN frame and send it
...
...
test/feature/error_rules_e_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -73,7 +73,6 @@ use lib.pkg_feature_exec_dispath.all;
package
error_rules_e_feature
is
procedure
error_rules_e_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -84,7 +83,6 @@ end package;
package
body
error_rules_e_feature
is
procedure
error_rules_e_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -116,7 +114,6 @@ package body error_rules_e_feature is
variable
bit_waits
:
natural
:
=
0
;
variable
pc_dbg
:
SW_PC_Debug
;
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- 1. Set Node 2 to ACK forbidden mode. Generate CAN frame and send it
...
...
test/feature/fault_state_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -80,7 +80,6 @@ use lib.pkg_feature_exec_dispath.all;
package
fault_state_feature
is
procedure
fault_state_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -92,7 +91,6 @@ end package;
package
body
fault_state_feature
is
procedure
fault_state_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -127,7 +125,6 @@ package body fault_state_feature is
variable
command
:
SW_command
:
=
SW_command_rst_val
;
variable
mode_1
:
SW_mode
:
=
SW_mode_rst_val
;
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
-- Pre-generate thresholds
...
...
test/feature/int_do_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -89,7 +89,6 @@ use lib.pkg_feature_exec_dispath.all;
package
int_do_feature
is
procedure
int_do_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -101,7 +100,6 @@ end package;
package
body
int_do_feature
is
procedure
int_do_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -134,7 +132,6 @@ package body int_do_feature is
variable
err_ctrs
:
SW_error_counters
;
variable
status
:
SW_status
;
begin
o
.
outcome
:
=
true
;
-----------------------------------------------------------------------
...
...
test/feature/int_ewl_feature_tb.vhd
View file @
2630ed9c
...
...
@@ -95,7 +95,6 @@ use lib.pkg_feature_exec_dispath.all;
package
int_ewl_feature
is
procedure
int_ewl_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -107,7 +106,6 @@ end package;
package
body
int_ewl_feature
is
procedure
int_ewl_feature_exec
(
variable
o
:
out
feature_outputs_t
;
signal
so
:
out
feature_signal_outputs_t
;
signal
rand_ctr
:
inout
natural
range
0
to
RAND_POOL_SIZE
;
signal
iout
:
in
instance_outputs_arr_t
;
...
...
@@ -139,7 +137,6 @@ package body int_ewl_feature is
variable
pc_dbg
:
SW_PC_Debug
;
variable
err_ctrs
:
SW_error_counters
;
begin
o
.
outcome
:
=
true
;