Scope of a process name

Why OSVVM™? Forums VHDL Scope of a process name


This topic contains 0 replies, has 1 voice, and was last updated by Avatar of Torsten M. Torsten M. 2 years, 11 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #1176
    Avatar of Torsten M.
    Torsten M.

    To bring even more life into the forum, another question 😉

    I have written a scheduler package. You can register processes to the scheduler and wait for them to finish for example.  I use their instance_name as IDs for the processes.

     I have used that package various times without problems, but now I’ve got an error with Modelsim. It suggests, that the process name can only be used inside the process itself. Is that true? I get this error only in one single testbench in a specific process, not all processes which use the same construct (which is strange). In GHDL I’ve never seen this error.

    An example (init, finished & wait_finished are procedures to register, finish & wait for processes to finish):

     P1 : process is






      end process P1;

      P2 : process is



        wait_finished(P1'instance_name);  -- here the error occurs




      end process P2;

    • This topic was modified 2 years, 11 months ago by Avatar of Torsten M. Torsten M..
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.