Skip to content

Error: no visible declaration for LABEL #1125

@lemmuh

Description

@lemmuh

The following code

  gen_logic : IF (g_test = 1) GENERATE
  
  ...

    ASSERT NOT (i_rdreq = '1')
      REPORT "Read - " & GEN_LOGIC'PATH_NAME & " @ " & time'IMAGE(now)
      SEVERITY warning;

  ...

  END GENERATE gen_logic;

generates an error

** Error: no visible declaration for GEN_LOGIC
     > file.vhd:181
     |
 181 |       REPORT "Read - " & gen_logic'PATH_NAME & " @ " & time'IMAGE(now)

The code works for modelsim without an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions