ID:13721 VHDL Next Statement error at <location>: Next Statement must be inside Loop Statement

CAUSE: In a VHDL Design File (.vhd) at the specified location, you used a Next Statement. However, the Next Statement is not inside a Loop Statement, and therefore does not apply to a specific Loop Statement. The Next Statement must be inside the Loop Statement to which the Next Statement applies.

ACTION: Place the Next Statement inside the Loop Statement to which the Next Statement applies or, if there is no corresponding Loop Statement, remove the Next Statement.