Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions doc/Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- [Aldec Riviera-PRO](https://www.aldec.com/en/products/functional_verification/riviera-pro)
- [Aldec Active-HDL](https://www.aldec.com/en/products/fpga_simulation/active-hdl)

Note the following simulators are not currently supported by VUnit:
The following simulators are not currently supported by VUnit but all tests can be executed manually:
- [Cadence Xcelium](https://www.cadence.com/en_US/home/tools/system-design-and-verification/simulation-and-testbench-verification/xcelium-simulator.html)
- [Synopsys VCS](https://www.synopsys.com/verification/simulation/vcs.html)
- [AMD/Xilinx Vivado Simulator (xsim)](https://www.xilinx.com)
Expand All @@ -25,7 +25,7 @@ To install the correct version of VUnit, run:
pip3 install -r requirements.txt
```

## Running the Tests
## Running the Tests with VUnit Supported Simulator

Since the compliance tests can fail on parsing the source data, the suggested
way of running the tests using the system default simulator is to continue even
Expand All @@ -51,6 +51,17 @@ Since this test suite is based on VUnit, please refer to the [VUnit
Documentation](https://vunit.github.io/) for all supported options and
configurations.

## Running the Tests with Simulators not Supported by VUnit

The repository contains a VUnit mock which provides an alternative implementation
for the VUnit subprograms used by the testbenches. This is a minimalistic
implementation that do not mimic true VUnit behavior, but it still enables
the testbenches to execute, pass, and fail as intended. The VUnit mock files can
be found in the `vunit_mock` directory and must be compiled into a library named
`vunit_lib`. The testbenches in the `vhdl_2008` and `vunit_2019` directories can
then be compiled and simulated independently. Please review the log for any
compliance errors that may be detected during the simulation.

## Interpreting Test Results

Currently the tests are focused on parsing and compiler compliance, and it is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_bit_string_literals.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ library ieee;
use ieee.std_logic_1164.all;

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

architecture tb of tb_bit_string_literals is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_condition_operator.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ context vunit_lib.vunit_context;
library ieee;
use ieee.std_logic_1164.all;
entity tb_condition_operator is
generic ( runner_cfg : string );
generic ( runner_cfg : string := runner_cfg_default);
end entity;

architecture tb of tb_condition_operator is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_entity_generic_type.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_entity_generic_type is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_external_names.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ library vunit_lib ;
context vunit_lib.vunit_context;

entity tb_external_names is
generic ( runner_cfg : string ) ;
generic ( runner_cfg : string := runner_cfg_default) ;
end entity;
architecture arch of tb_external_names is

Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_fixed_generic_pkg.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_fixed_generic_pkg is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_function_generic_in_package.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_function_generic_in_package is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_generic_packages_on_entity.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_generic_packages_on_entity is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_generics_in_packages.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_generics_in_packages is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_matching_case.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ library ieee;
use ieee.std_logic_1164.all;

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

architecture tb of tb_matching_case is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_matching_operator_eq.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ library ieee;
use ieee.std_logic_1164.all;

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

architecture tb of tb_matching_operators_eq is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_matching_operator_ge.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ library ieee;
use ieee.std_logic_1164.all;

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

architecture tb of tb_matching_operators_ge is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_matching_operator_gt.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ library ieee;
use ieee.std_logic_1164.all;

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

architecture tb of tb_matching_operators_gt is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_matching_operator_le.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ library ieee;
use ieee.std_logic_1164.all;

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

architecture tb of tb_matching_operators_le is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_matching_operator_lt.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ library ieee;
use ieee.std_logic_1164.all;

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

architecture tb of tb_matching_operators_lt is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_matching_operator_ne.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ library ieee;
use ieee.std_logic_1164.all;

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

architecture tb of tb_matching_operators_ne is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_numeric_std_unsigned.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use ieee.numeric_std.to_unsigned;
use ieee.numeric_std_unsigned.all;

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

architecture tb of tb_numeric_std_unsigned is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_psl.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ library ieee;
use ieee.std_logic_1164.all;

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

architecture tb of tb_psl is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_top_generic_subtype.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_top_generic_subtype is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2008/tb_type_generics_in_packages.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_type_generics_in_packages is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_001.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_partially_connected_vectors_on_port_map is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_002.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ context vunit_lib.vunit_context;
use work.pack002.all ;

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

architecture tb of tb_allow_access_and_protected_type_params_on_func_interfaces is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_004.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ context vunit_lib.vunit_context;
use work.pack004.all ;

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

architecture tb of tb_allow_protected_type_method_params_to_be_access_protected_file is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_006a.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_fileio_textio_updates is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_006e.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_access_system_environment_variables is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_006f.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_standard_conditional_analysis_identifiers is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_007.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_sequential_declaration_regions is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_011.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_date_time_functions is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_012.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_image_and_to_string_for_composite_types is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_014.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_composites_of_protected_types is
generic ( runner_cfg : string );
generic ( runner_cfg : string := runner_cfg_default);
end entity;

architecture tb of tb_composites_of_protected_types is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_014a.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_access_types_to_protected_types_and_composites_of_protected_types is
generic ( runner_cfg : string );
generic ( runner_cfg : string := runner_cfg_default);
end entity;

architecture tb of tb_access_types_to_protected_types_and_composites_of_protected_types is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_015.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_report_calling_path is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_015a.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_report_current_file_name_line_path is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_016.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_anonymous_types is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_018.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ context vunit_lib.vunit_context;
use work.pack018.all ;

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

architecture tb of tb_enumerated_type_attributes is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_018a.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ context vunit_lib.vunit_context;
use work.pack018a.all ;

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

architecture tb of tb_new_attribute_index is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_018d.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ context vunit_lib.vunit_context;
use work.pack018d.all ;

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

architecture tb of tb_new_attribute_designated_type is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_019.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_inferring_constraints_from_initial_values_for_signals_and_variables is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_023.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_relax_library_requirement_on_configurations is
generic ( runner_cfg : string );
generic ( runner_cfg : string := runner_cfg_default);
end entity;

architecture tb of tb_relax_library_requirement_on_configurations is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_026c.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ context vunit_lib.vunit_context;
use work.pack026c.all ;

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

architecture tb of tb_long_integers is
Expand Down
2 changes: 1 addition & 1 deletion vhdl_2019/tb_030.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ library vunit_lib;
context vunit_lib.vunit_context;

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

architecture tb of tb_garbage_collection is
Expand Down
Loading