summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLYAM <cous5830@gmail.com>2025-05-05 14:09:54 -0400
committerLYAM <cous5830@gmail.com>2025-05-05 14:09:54 -0400
commit0a39cc7aa6e7a956b9cf68677c442d6baac8bcce (patch)
tree82ad7d2635d89fa8feaa23f6f9e048384683348e
parent3e436cb40c9762080f28d164cc5f5683ed250b12 (diff)
Added impossible values tests
-rw-r--r--pb_APP_log_comb.srcs/sources_1/new/fct_2_3_tb.vhd5
1 files changed, 4 insertions, 1 deletions
diff --git a/pb_APP_log_comb.srcs/sources_1/new/fct_2_3_tb.vhd b/pb_APP_log_comb.srcs/sources_1/new/fct_2_3_tb.vhd
index 370c760..8e43658 100644
--- a/pb_APP_log_comb.srcs/sources_1/new/fct_2_3_tb.vhd
+++ b/pb_APP_log_comb.srcs/sources_1/new/fct_2_3_tb.vhd
@@ -57,7 +57,7 @@ architecture Behavioral of fct_2_3_tb is
----------------------------------------------------------------------------
-- declaration d'un tableau pour soumettre un vecteur de test
----------------------------------------------------------------------------
- constant amount_of_tests: integer := 13;
+ constant amount_of_tests: integer := 16;
type table_valeurs_tests is array (integer range 0 to amount_of_tests) of std_logic_vector(6 downto 0);
constant mem_valeurs_tests : table_valeurs_tests := (
-- res input
@@ -74,6 +74,9 @@ architecture Behavioral of fct_2_3_tb is
"110" & "1010",
"110" & "1011",
"111" & "1100", -- 12
+ "000" & "1101", -- IMPOSSIBLE
+ "000" & "1110", -- IMPOSSIBLE
+ "001" & "1111", -- IMPOSSIBLE
-- conserver la ligne ci-bas.
others => "000" & "0000" -- 0 + 0
);