Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
wangsf1112
Posts: 7
Registered: ‎12-26-2011
0

Hardware co-simulation question

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

Super Contributor
vlavruhin
Posts: 195
Registered: ‎12-08-2010
0

Re: Hardware co-simulation question

Hi,

 

Could you provide more information about this issue and your project?

Best Regards,
Vitaly.
Visitor
wangsf1112
Posts: 7
Registered: ‎12-26-2011
0

Re: Hardware co-simulation question

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.

Super Contributor
vlavruhin
Posts: 195
Registered: ‎12-08-2010
0

Re: Hardware co-simulation question

Is computer-based simulation of the model running without errors? Could you attach simplest project that produces that error?

Best Regards,
Vitaly.
Visitor
wangsf1112
Posts: 7
Registered: ‎12-26-2011
0

Re: Hardware co-simulation question

the error occur when computer-based simulation of the model running. and when I use a simplest project ,the error is same.
Super Contributor
vlavruhin
Posts: 195
Registered: ‎12-08-2010
0

Re: Hardware co-simulation question

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.

Best Regards,
Vitaly.
Visitor
wangsf1112
Posts: 7
Registered: ‎12-26-2011
0

Re: Hardware co-simulation question

 

OK, the simple project is in the attachment.

 

 thank you.

Super Contributor
vlavruhin
Posts: 195
Registered: ‎12-08-2010

Re: Hardware co-simulation question

'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').

 

Best Regards,
Vitaly.
Visitor
wangsf1112
Posts: 7
Registered: ‎12-26-2011
0

Re: Hardware co-simulation question

thank you for your help, but there is a new problem :

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".

Visitor
wangsf1112
Posts: 7
Registered: ‎12-26-2011
0

Re: Hardware co-simulation question

I kown it, thank you very much!