Thank you for your elaborate (and much appreciated) reply.
It is very useful and confirms what I feared being the case: that this is in fact a memory leak…
The first solution you suggest was actually already on my mind as a working alternative (without the memory leak). But this approach has the side-effect that an additional ‘copy…[Read more]
I have a question about implementation of access type objects in VHDL.
Suppose I have a not fully constrained type, for example:
type t_my_type is array(natural range<>, natural range <>) of integer;
Now suppose I want to write a function that transforms an object of this type (possibly changing the array dimensions), for example: