Compliance-Tests icon indicating copy to clipboard operation
Compliance-Tests copied to clipboard

Support tracking: GHDL [VHDL-2008]

Open eine opened this issue 6 years ago • 1 comments

The purpose of this issue is to track bugs reported to maintainers of GHDL regarding compliance with these test suites.

  • vhdl_2008/tb_condition_operator.vhd
    • ghdl/ghdl#977
  • vhdl_2008/tb_matching_operator.vhd
    • ghdl/ghdl#1063
  • vhdl_2008/tb_entity_generic_type.vhd
    • ghdl/ghdl#2365

eine avatar Oct 14 '19 20:10 eine

As commented in ghdl/ghdl#1063, most matching operators (?/=, ?<, ?<=, ?>, ?>=) are not implemented in GHDL yet but the equality operator is available.

Unfortunately, 2 of the 8 related tests in tb_matching_operator.vhd fail with the current implementation because of some weird interaction between VUnit and GHDL. A workaround, which is shown in https://github.com/VHDL/Compliance-Tests/tree/ghdl-matchingop, is to explicitly set the type of 'H' and 'W'. @LarsAsplund, what do you think? Should we ensure that the signals/variables that are compared are explicitly of type std_logic? It was "a stupid mistake" (https://github.com/ghdl/ghdl/issues/1063#issuecomment-570145573).

eine avatar Jan 02 '20 02:01 eine