Main

System Generator for DSP 12.1 - Simulation is extremely slow on Windows Vista and Windows 7.

AR# 35531

Search For Another Answer

Topic DSP Tools
Last Updated 05/06/2010
Status Active
Description

When a System Generator model is simulated on Windows Vista or Windows 7* operating systems, it takes much longer to simulate than on Windows XP machines.  It appears to hang but will eventually complete.

Solution

This is due to a known issue in ISE 11.x and 12.1 software which is caused by a change in the Windows OS.  The cache directory used by System Generator defaults to the Application Data folder which is an alias for a different location on Vista and 7*. This causes a problem when trying to write to or read from the cache and results in the slow down.

To resolve this issue, set the environment variable DSP_CACHE_DIR with a value of a path pointing to a hard location without spaces on your machine.

For instance:

DSP_CACHE_DIR = C:/temp/sysgen_cache

After setting the environment variable, close and reopen MATLAB.

To set an environment variable, go to System Properties (right click on My Computer and select Properties).

Go to the Advanced Tab and select Environment Variables.

* - Note that Windows 7 is not officially supported, but this workaround can be used to improve simulation performance.


 
 
/csi/footer.htm