VHDL / Compliance-Tests

Tests to evaluate the support of VHDL 2008 and VHDL 2019 features
https://vhdl.github.io/Compliance-Tests/
Apache License 2.0
28 stars 8 forks source link

VHDL-2008: Generic packages on entity should test all cases #32

Open bpadalino opened 1 year ago

bpadalino commented 1 year ago

The VHDL-2008 test tb_generic_packages_on_entity exposed that most simulators do not handle the cases for passing a generic package into an entity. It's defined as:

interface_package_declaration ::= package identifier is new uninstantiated_package_name interface_package_generic_map_aspect

interface_package_generic_map_aspect ::= generic_map_aspect | generic map (<>) | generic map ( default )

So the test really should be 3 tests: