I have a record in VHDL that contains a pointer (access
).
I need to create a function that receives this record as parameter and from its data write in a file.
But simulating with MODELSIM I get the following error:
**Error: (vcom-1462) Illegal declaration of constant "xxx" of type x_file_format (type is or contains access type).
How can I pass a pointer as parameter to a function?