I received the following error message when I was trying to compile a VHDL file. What I can do to fix it?
Error: COMP96_0321: C:/../<File_Name>.vhd : Subprogram specification of the body must conform to the subprogram specification of the declaration.
There are two solutions:
Please use -relax switch to allow compile files which not follow strictly the LRM:
Example: acom -relax …
...
Or you can correct the subbrogram declaration:
On package body exist:
function <Function_name> (in_value : in integer) return string
On package declaration:
function <Function_name> (in_value : integer) return string
Please update the package declaration for:
function <Function_name> (in_value : in integer) return string