Skip to content

Update to activehdl.py required for VHDL-2019 support #755

@Andy-Darlington

Description

@Andy-Darlington

Attempting to compile using VHDL-2019 results in the following error:
Invalid VHDL standard 2019.
image

This can be fixed by updating activehdl.py as follows:

image

@staticmethod
def _std_str(vhdl_standard):
    """
    Convert standard to format of Active-HDL command line flag
    """
    if vhdl_standard <= VHDL.STD_2019:
        return "-%s" % vhdl_standard

    raise ValueError("Invalid VHDL standard %s" % vhdl_standard)

I'm using vunit 4.5.0 and ActiveHDL 12.0 x64.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions