Quartus

VHDL Variable Declaration error at <location>: variable declared outside of subprogram or process must be a shared variable


CAUSE: In a Variable Declaration at the specified location in a VHDL Design File (.vhd), you declared a variable that is not shared. However, you declared the variable outside of a subprogram or process. A variable you declare outside of a subprogram or process must be a shared variable.
ACTION: Make sure that the Variable Declaration contains the keyword shared, that is, declares the variable as a shared variable. Or, place the variable inside a subprogram or process.

See also:

Section 4.3.1.3 of the IEEE Std 1076-1993 IEEE Standard VHDL Language Reference Manual

- PLDWorld -

 

Created by chm2web html help conversion utility.