04-05-2012 12:08 AM
when i using hardware co-simulation shared memory(FIFO),there is a errer:
Could not create shared memory. A shared memory with the name "BA_pipe" is already in use.
This could be because another System Generator block is executing that is set to "own and initailize" a memory of this name. If you are using System Generator's shared memory C++ API directly, it could also be because you have started another process that has created a memory with this name.
Error occurred during "Simulation Initialization".
I don't know how to deal, so need help, please
04-05-2012 02:21 AM
OK,thanks. when I use the "From FIFO" and "To FIFO"module in hardware co-simulation design,there is above-mentioned error. Even only use these modules,the error occured similarly.
04-05-2012 03:32 AM
Ok, that means the problem isn't connected with hardware co-simulation. But could you show us your project? It's hard to tell what's wrong without having look at the model.
04-05-2012 04:17 AM
'To FIFO' and 'From FIFO' blocks are supposed to have same shared memory, right? And that's why they have same name.
But this shared memory space should be instantiated only in one block.
Look at the properties of these blocks. There is an option 'Ownership'. Set it to 'Locally owned' at one block (for example, 'To FIFO') and set it to 'Owned elsewhere' at other block (i.e., 'From FIFO').
04-05-2012 04:42 AM
Attempted to write to the fifo while it is in a reset state. The fifo requires three cycles at startup to initialize.
Error occurred during "Simulation Update State".