Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSG Crashes when an alias uses a VHDL-2008 reference with subtype #1403

Open
masubious opened this issue Feb 12, 2025 · 0 comments
Open

VSG Crashes when an alias uses a VHDL-2008 reference with subtype #1403

masubious opened this issue Feb 12, 2025 · 0 comments
Labels

Comments

@masubious
Copy link

Environment
Win 10

Describe the bug
As per Title. VSG Crashes when using a specific VHDL Construct (Aliasing a VHDL-2008 referenced Signal that is a Subtype e.g. natural range 0 to 15)

To Reproduce

vsg -f .\alias_reference_fail.vhd
Error while processing .\alias_reference_fail.vhd:
Error: Unexpected token detected while parsing alias_declaration @ Line 39, Column 129 in file .\alias_reference_fail.vhd
       Expecting : is
       Found     : ;

File looks like this:


ARCHITECTURE behaviour OF testcase IS
BEGIN
  proc_test_sequencer : PROCESS
    ALIAS s_event_count : natural RANGE 0 TO 2**16 - 1 IS << SIGNAL some.reference.some_signal : natural RANGE 0 TO 2**16 - 1 >>;
  BEGIN
  END PROCESS proc_test_sequencer;
END ARCHITECTURE behaviour;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant