Skip to content

Using abstract names with attributes of named objects

Is your capability/feature request related to a problem?

Currently the uses of 'simple_name, 'path_name, and 'instance_name require the usage of a specific name, such as an entity, architecture, block, or process. When the named entity is one of the above, it would be nice be able to refer to them by an abstract name, such as:

   ControlProcess : process 
   begin 
     . . . 
     SetTestName (architecture'simple_name);

A more generic name such as this will not work as in the above this would refer to process rather than architecture name.

Alternately we would consider doing something similar with the std.env package.

Additional context

Edited by JimLewis
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information