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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
8,762 Views
Registered: ‎02-18-2014

Error while using NMM for Hardware Cosimulation

Jump to solution

Hi,


I am trying to do a simple hardware co-sim in which I add two numbers and intend to display the result on led arrays ( GPIO Leds available on ML605 board ). I am using NMM port for the same.

 

 

Begin generation
Checking model status
Checking simulation times
Performing compilation and generation
Compilation and generation completed in 7.609 seconds

*** ERROR ***

An error was encountered while compiling the design for hardware co-simulation.

 

It would be really helpful if someone could provide me some insight into - how to use NMM ports ! I don't know if it's the sequence of steps I do that's creating this error!

 

Please help.

 

Thanks,
Basil

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Adventurer
Adventurer
14,698 Views
Registered: ‎02-18-2014

Re: Error while using NMM for Hardware Cosimulation

Jump to solution

Hi,

 

 Finally I was able to resolve the errors, and run hardware co simulation via JTAG.

 

Platforms : Ubuntu 12.04 LTS ; MATLAB 2012a ; Xilinx ISE 14.3

 

I think earlier when I had tried this combination of platform, I had done mistake in generating non memory mapped ports! Anyway, it is working now!

 

Thanks to everyone for their inputs! It did help!

Basil.

View solution in original post

0 Kudos
4 Replies
Xilinx Employee
Xilinx Employee
8,755 Views
Registered: ‎08-01-2008

Re: Error while using NMM for Hardware Cosimulation

Jump to solution


This is due to an issue with generating Shared Memory or FIFO core in hardware co-sim flow, which requires write permission to the SysGen directories.
A workaround is to make the SysGen directories writable, e.g. on Linux,
chmod -R a+w <sysgen install directory>

Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
Adventurer
Adventurer
8,750 Views
Registered: ‎02-18-2014

Re: Error while using NMM for Hardware Cosimulation

Jump to solution

Hi Balkrishnan,

 

 Thanks for replying.  My Xilinx is installed in /opt/Xilinx/14.3/ISE_DS.

 

I changed the permission of /opt/Xilinx/14.3/ISE_DS/ISE/sysgen by using the command that you mentioned.

 

But still, no success! Am i doing it for the right folder ?

 

 

Thanks,
Basil

0 Kudos
Adventurer
Adventurer
8,720 Views
Registered: ‎02-18-2014

Re: Error while using NMM for Hardware Cosimulation

Jump to solution

Hi,

As of now I tried two different things :

 

1. On Linux Ubuntu : 14.3 ISE with Matlab 2012a : When I am trying to create the JTAG hwcosim library, I get the following error :

Begin generation
Checking model status
Checking simulation times
Performing compilation and generation
Compilation and generation completed in 7.609 seconds

*** ERROR ***

An error was encountered while compiling the design for hardware co-simulation.

 

 

2. On Windows 7: ISE 14.3 with Matlab 2012b : I created the JTAG hwcosim library, the non memory mapped port library, and when clicking on the "start" button on simulink, I get the following error

 

An internal error occurred in the Xilinx Blockset Library.

Please report this error to Xilinx (http://support.xilinx.com), in as much detail as possible. You may also find immediate help in the Answers Database and other online resources at http://support.xilinx.com.

Since it is possible that this internal error resulted from an unhandled usage error in your design, we advise you to carefully check the usage of the block reporting the internal error. If errors persist, we recommend that you restart MATLAB.

 

I have spent quite a lot of time trying to resolve this issue, yet no success! It would be really really helpful if I could some help on it!

 

Thanks a lot,

Basil

 

 

0 Kudos
Highlighted
Adventurer
Adventurer
14,699 Views
Registered: ‎02-18-2014

Re: Error while using NMM for Hardware Cosimulation

Jump to solution

Hi,

 

 Finally I was able to resolve the errors, and run hardware co simulation via JTAG.

 

Platforms : Ubuntu 12.04 LTS ; MATLAB 2012a ; Xilinx ISE 14.3

 

I think earlier when I had tried this combination of platform, I had done mistake in generating non memory mapped ports! Anyway, it is working now!

 

Thanks to everyone for their inputs! It did help!

Basil.

View solution in original post

0 Kudos