Skip to content

Commit

Permalink
Deprecated runner_cfg_t.
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsAsplund authored and kraigher committed Mar 19, 2016
1 parent 5054857 commit 6916ee5
Show file tree
Hide file tree
Showing 61 changed files with 78 additions and 74 deletions.
2 changes: 1 addition & 1 deletion examples/vhdl/array/src/test/tb_sobel_x.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use osvvm.RandomPkg.all;

entity tb_sobel_x is
generic (
runner_cfg : runner_cfg_t;
runner_cfg : string;
output_path : string;
tb_path : string);
end entity;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ entity tb_bvul_integration is
-- This generic is used to configure the testbench from run_bvul.py, e.g. what
-- test case to run. The default value is used when not running from script
-- and in that case all test cases are run.
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end entity tb_bvul_integration;

architecture test_fixture of tb_bvul_integration is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ entity tb_uvvm_integration is
-- This generic is used to configure the testbench from run_uvvm.py, e.g. what
-- test case to run. The default value is used when not running from script
-- and in that case all test cases are run.
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end entity tb_uvvm_integration;

architecture test_fixture of tb_uvvm_integration is
Expand Down
2 changes: 1 addition & 1 deletion examples/vhdl/com/test/tb_card_shuffler.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use work.tb_common_pkg.all;

entity tb_card_shuffler is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end entity tb_card_shuffler;

architecture test_fixture of tb_card_shuffler is
Expand Down
2 changes: 1 addition & 1 deletion examples/vhdl/generate_tests/test/tb_generated.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ context vunit_lib.vunit_context;

entity tb_generated is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default;
runner_cfg : string := runner_cfg_default;
output_path : string;
data_width : natural;
sign : boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ use work.common_pkg.all;

entity tb_AlertLog_Demo_Global is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end tb_AlertLog_Demo_Global;
architecture hierarchy of tb_AlertLog_Demo_Global is
signal Clk : std_logic := '0';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ use work.common_pkg.all;

entity tb_AlertLog_Demo_Global_With_Comments is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end tb_AlertLog_Demo_Global_With_Comments;
architecture hierarchy of tb_AlertLog_Demo_Global_With_Comments is
signal Clk : std_logic := '0';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ use work.common_pkg.all;

entity tb_AlertLog_Demo_Hierarchy is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end tb_AlertLog_Demo_Hierarchy;
architecture hierarchy of tb_AlertLog_Demo_Hierarchy is
signal Clk : std_logic := '0';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ use work.common_pkg.all;

entity tb_AlertLog_Demo_Hierarchy_With_Comments is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end tb_AlertLog_Demo_Hierarchy_With_Comments;

architecture hierarchy of tb_AlertLog_Demo_Hierarchy_With_Comments is
Expand Down
2 changes: 1 addition & 1 deletion examples/vhdl/uart/src/test/tb_uart_rx.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use tb_uart_lib.uart_model_pkg.all;

entity tb_uart_rx is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end entity;

architecture tb of tb_uart_rx is
Expand Down
2 changes: 1 addition & 1 deletion examples/vhdl/uart/src/test/tb_uart_tx.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use tb_uart_lib.uart_model_pkg.all;

entity tb_uart_tx is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end entity;

architecture tb of tb_uart_tx is
Expand Down
2 changes: 1 addition & 1 deletion examples/vhdl/user_guide/tb_example.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

entity tb_example is
generic (runner_cfg : runner_cfg_t);
generic (runner_cfg : string);
end entity;

architecture tb of tb_example is
Expand Down
2 changes: 1 addition & 1 deletion examples/vhdl/user_guide/tb_example_many.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

entity tb_example_many is
generic (runner_cfg : runner_cfg_t);
generic (runner_cfg : string);
end entity;

architecture tb of tb_example_many is
Expand Down
2 changes: 1 addition & 1 deletion examples/vhdl/vivado/src/test/tb_top.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ context vunit_lib.vunit_context;
library lib;

entity tb_top is
generic (runner_cfg : runner_cfg_t);
generic (runner_cfg : string);
end entity;

architecture tb of tb_top is
Expand Down
2 changes: 1 addition & 1 deletion vunit/test/acceptance/artificial/vhdl/tb_elab_fail.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

entity tb_elab_fail is
generic (runner_cfg : runner_cfg_t;
generic (runner_cfg : string;
generic_without_default : string);
end entity;

Expand Down
2 changes: 1 addition & 1 deletion vunit/test/acceptance/artificial/vhdl/tb_fail.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

entity tb_fail is
generic (runner_cfg : runner_cfg_t);
generic (runner_cfg : string);
end entity;

architecture vunit_test_bench of tb_fail is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

entity tb_fail_on_warning is
generic (runner_cfg : runner_cfg_t);
generic (runner_cfg : string);
end entity;

architecture vunit_test_bench of tb_fail_on_warning is
Expand Down
2 changes: 1 addition & 1 deletion vunit/test/acceptance/artificial/vhdl/tb_ieee_warning.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

entity tb_ieee_warning is
generic (runner_cfg : runner_cfg_t);
generic (runner_cfg : string);
end entity;

architecture vunit_test_bench of tb_ieee_warning is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

entity tb_infinite_events is
generic (runner_cfg : runner_cfg_t);
generic (runner_cfg : string);
end entity;

architecture vunit_test_bench of tb_infinite_events is
Expand Down
2 changes: 1 addition & 1 deletion vunit/test/acceptance/artificial/vhdl/tb_magic_paths.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ context vunit_lib.vunit_context;

entity tb_magic_paths is
generic (
runner_cfg : runner_cfg_t;
runner_cfg : string;
tb_path : string;
output_path : string);
end entity;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

entity tb_no_fail_after_cleanup is
generic (runner_cfg : runner_cfg_t);
generic (runner_cfg : string);
end entity;

architecture vunit_test_bench of tb_no_fail_after_cleanup is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

entity tb_no_fail_on_warning is
generic (runner_cfg : runner_cfg_t);
generic (runner_cfg : string);
end entity;

architecture vunit_test_bench of tb_no_fail_on_warning is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ context vunit_lib.vunit_context;

entity tb_no_generic_override is
generic (
runner_cfg : runner_cfg_t;
runner_cfg : string;
g_val : boolean);
end entity;

Expand Down
2 changes: 1 addition & 1 deletion vunit/test/acceptance/artificial/vhdl/tb_pass.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

entity tb_pass is
generic (runner_cfg : runner_cfg_t);
generic (runner_cfg : string);
end entity;

architecture vunit_test_bench of tb_pass is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ context vunit_lib.vunit_context;
entity tb_same_sim_all_pass is
generic (
output_path : string;
runner_cfg : runner_cfg_t);
runner_cfg : string);
end entity;

architecture vunit_test_bench of tb_same_sim_all_pass is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ context vunit_lib.vunit_context;

entity tb_same_sim_some_fail is
generic (
runner_cfg : runner_cfg_t);
runner_cfg : string);
end entity;

architecture vunit_test_bench of tb_same_sim_some_fail is
Expand Down
2 changes: 1 addition & 1 deletion vunit/test/acceptance/artificial/vhdl/tb_set_generic.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ context vunit_lib.vunit_context;

entity tb_set_generic is
generic (
runner_cfg : runner_cfg_t;
runner_cfg : string;
is_ghdl : boolean;
true_boolean : boolean;
false_boolean : boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

entity tb_two_architectures is
generic (runner_cfg : runner_cfg_t);
generic (runner_cfg : string);
end entity;

architecture pass of tb_two_architectures is
Expand Down
2 changes: 1 addition & 1 deletion vunit/test/acceptance/artificial/vhdl/tb_with_checks.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ context vunit_lib.vunit_context;

entity tb_with_checks is
generic (
runner_cfg : runner_cfg_t);
runner_cfg : string);
end entity;

architecture vunit_test_bench of tb_with_checks is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ context vunit_lib.vunit_context;

entity tb_with_generic_config is
generic (
runner_cfg : runner_cfg_t;
runner_cfg : string;
output_path : string;
set_generic : string := "default";
config_generic : string := "default");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ context vunit_lib.vunit_context;

entity tb_with_vhdl_runner is
generic (
runner_cfg : runner_cfg_t);
runner_cfg : string);
end entity;

architecture vunit_test_bench of tb_with_vhdl_runner is
Expand Down
2 changes: 1 addition & 1 deletion vunit/test/acceptance/dependencies/tb_pkg.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use work.pkg.all;

entity tb_pkg is
generic (
runner_cfg : runner_cfg_t;
runner_cfg : string;
value : integer);
end entity;

Expand Down
2 changes: 1 addition & 1 deletion vunit/test/unit/test_ui_tb.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

entity test_ui_tb is
generic (runner_cfg : runner_cfg_t);
generic (runner_cfg : string);
end entity;

architecture tb of test_ui_tb is
Expand Down
2 changes: 1 addition & 1 deletion vunit/vhdl/array/test/tb_array.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use work.array_pkg.all;
entity tb_array is
generic (
output_path : string;
runner_cfg : runner_cfg_t);
runner_cfg : string);
end entity;

architecture a of tb_array is
Expand Down
2 changes: 1 addition & 1 deletion vunit/vhdl/check/test/tb_basic_check_functionality.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use std.textio.all;

entity tb_basic_check_functionality is
generic (
runner_cfg : runner_cfg_t := "";
runner_cfg : string := "";
output_path : string);
end entity tb_basic_check_functionality;

Expand Down
2 changes: 1 addition & 1 deletion vunit/vhdl/check/test/tb_check_equal.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use work.test_count.all;

entity tb_check_equal is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end entity tb_check_equal;

architecture test_fixture of tb_check_equal is
Expand Down
2 changes: 1 addition & 1 deletion vunit/vhdl/check/test/tb_check_false.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use work.test_count.all;

entity tb_check_false is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end entity tb_check_false;

architecture test_fixture of tb_check_false is
Expand Down
2 changes: 1 addition & 1 deletion vunit/vhdl/check/test/tb_check_implication.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use work.test_count.all;

entity tb_check_implication is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end entity tb_check_implication;

architecture test_fixture of tb_check_implication is
Expand Down
2 changes: 1 addition & 1 deletion vunit/vhdl/check/test/tb_check_match.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use work.test_count.all;

entity tb_check_match is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end entity tb_check_match;

architecture test_fixture of tb_check_match is
Expand Down
2 changes: 1 addition & 1 deletion vunit/vhdl/check/test/tb_check_next.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use work.test_count.all;

entity tb_check_next is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end entity tb_check_next;

architecture test_fixture of tb_check_next is
Expand Down
2 changes: 1 addition & 1 deletion vunit/vhdl/check/test/tb_check_not_unknown.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use work.test_count.all;

entity tb_check_not_unknown is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end entity tb_check_not_unknown;

architecture test_fixture of tb_check_not_unknown is
Expand Down
2 changes: 1 addition & 1 deletion vunit/vhdl/check/test/tb_check_one_hot.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use work.test_count.all;

entity tb_check_one_hot is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end entity tb_check_one_hot;

architecture test_fixture of tb_check_one_hot is
Expand Down
2 changes: 1 addition & 1 deletion vunit/vhdl/check/test/tb_check_relation.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use work.test_count.all;

entity tb_check_relation is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end entity tb_check_relation;

architecture test_fixture of tb_check_relation is
Expand Down
2 changes: 1 addition & 1 deletion vunit/vhdl/check/test/tb_check_relation93_2002.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use work.test_count.all;

entity tb_check_relation is
generic (
runner_cfg : runner_cfg_t := runner_cfg_default);
runner_cfg : string := runner_cfg_default);
end entity tb_check_relation;

architecture test_fixture of tb_check_relation is
Expand Down
Loading

0 comments on commit 6916ee5

Please sign in to comment.