We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 15190

8.2 System Generator for DSP - An error reports "Undefined function or variable" during generation


In all System Generator versions, up to and including v8.2, the following error occurs during code generation when a variable exists in the "stop time" of the simulation parameters:

"System Generator ERROR

Error during generation: Undefined function or variable."

This error occurs even when the variable or function is correctly declared in the work space.


The System Generator cannot determine the value of variables or functions for the "stop time" of the simulation parameters during code generation. This problem occurs only during code generation and not during simulation. For code generation, the explicit value must be entered into "stop time."

AR# 15190
Date Created 09/03/2007
Last Updated 12/15/2012
Status Active
Type General Article