Attributes automatically associate object when object-reference is omitted.
Is your capability/feature request related to a problem?
Why can't I omit the object when citing an attribute and automatically associate the object?
For example, assume we have
signalsome_slv : std_logic_vector(3 downto 0);
and I want to reference the value located at some_slv(3).
Why can't I just type some_slv'high rather than having to type some_slv(some_slv'high) to access that value?
I feel that the the second method is redundant and verbose (which scales linearly with signal-name-length).
Describe the solution you'd like
I would like to just be able to type some_slv'high to reference the value in the high position of some_slv.
Additionally, I think that if we had
signalanother_slv : std_logic_vector(5 downto 0);
and performed another_slv(some_slv'high) then that would be the same as another_slv(3) . Here, we disabuse ourselves from the (proposed) automatic linkage between the attribute and the object since we explicitly state the object (another_slv). In this instance we do not reference the value at some_slv(3), and instead we reference the index 3 (i.e., the current implementation).
Describe alternatives you've considered
Aliases, but due to toolchain issues I cannot view aliases in the waveform viewer.