- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Hardware co-simulat ion question
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2012 12:08 AM
hi,
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
Re: Hardware co-simulat ion question
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2012 01:48 AM
Hi,
Could you provide more information about this issue and your project?
Vitaly.
Re: Hardware co-simulat ion question
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: Hardware co-simulat ion question
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2012 02:42 AM
Is computer-based simulation of the model running without errors? Could you attach simplest project that produces that error?
Vitaly.
Re: Hardware co-simulat ion question
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2012 03:20 AM
Re: Hardware co-simulat ion question
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Vitaly.
Re: Hardware co-simulat ion question
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2012 03:55 AM
OK, the simple project is in the attachment.
thank you.
Re: Hardware co-simulat ion question
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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').
Vitaly.
Re: Hardware co-simulat ion question
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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".
Re: Hardware co-simulat ion question
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2012 05:08 AM











