ID:13836 VHDL Subprogram Body error at <location>: Subprogram Body cannot contain Wait Statement

CAUSE: In a Subprogram Body at the specified location in a VHDL Design File (.vhd), you used a Wait Statement. However, you cannot use a Wait Statement in a Subprogram Body.

ACTION: Remove the Wait Statement from the Subprogram Body, or place the Wait Statement outside the Subprogram Body.