UPGRADE YOUR BROWSER

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# 25320

9.1 System Generator for DSP - Why do I get the error message: "The hardware co-simulation block timed out while waiting for the shared memory named to release its lock." during hardware co-simulation with shared memory blocks?

Description

I am using frame-based acceleration in my hardware co-simulation model. After generating a hardware co-simulation block (which contains a lockable shared memory) and adding it to a testbench model (which contains shared memory write and read blocks), I receive the following message:

"Error reported by S-function 'xltoshmem' in 'model/Shared Memory Write': --The hardware co-simulation block timed out while waiting for the shared memory named <shmem_in> to release its lock."

Solution

Lockable shared memories for frame-based simulation acceleration can only be used in "free-running" simulation mode.

To correct this issue, open up the paremeters for your hardware co-simulation block and change the simulation mode from "single stepped" to "free running".

For more information on using shared memories in hardware co-simulation, see the section titled "Shared Memory Support" in the System Generator for DSP User Guide.

See also (Xilinx Answer 24290), for more information on using Shared Memories.

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