LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Xflow - Program par returned error code 3. Aborting flow execution...

Hi, I having a problem with FPGA module with LabVIEW 2009 on Windows 7 operating system. Every time I compile FPGA VI that contains a memory item or FIFO item to be implemented on Xilinx Spartan 3E, the compiler gives me the following error Xflow - Program par returned error code 3. Aborting flow execution... any suggestions?
0 Kudos
Message 1 of 22
(6,454 Views)
0 Kudos
Message 2 of 22
(6,428 Views)

Hi Bluesky96,

 

What else is in these FPGA VIs?  Do you have any lookup tables or Signal Generation functions?  Is there any more to the error message that they give you?

Jared S.
Applications Engineering
National Instruments
0 Kudos
Message 3 of 22
(6,414 Views)
Hi sorry i did not respond earlier. To have a better understanding of my problem, you can find the whole project with txt file of xilinx log attached to this reply. thanks in advance for your help
0 Kudos
Message 4 of 22
(6,370 Views)
Update - this is the correct attachment.
0 Kudos
Message 5 of 22
(6,366 Views)

Hi Bluesky96,

 

This error is due to a Xilinx environment variable being set during compilation and is specific to the Spartan 3E FPGA.  This error occurs when a LabVIEW FPGA project with a Spartan 3E uses block RAM elements.  In this case, the target-scoped FIFO in your project is configured to be implemented in block RAM, which is causing the error to occur.  There are two courses of action we can take.

 

First, if your FIFO does not need to be 1029 elements and you have sufficient space remaining in your design, you can change the implementation to use Look-Up Tables or Flip Flops.  This can be configured from the FIFO Properties dialog.  However, some LabVIEW FPGA functions use block RAM behind the scenes and if you use those functions (1D LUT or signal generation VIs for example) you will still see this error.

 

In the case you cannot change the FIFO implementation or are using functions that require block RAM, I have put a modified compile server on our FTP site for you to download with instructions on setting it up.  You can get it here.  This version does not set the environment variable that causes the error, which changes the behavior of the compiler, but allows block RAM to compile for a Spartan 3E.  This version has not been fully tested to guarantee this fix does not cause other issues, but in my cursory tests, no other problems were seen.

 

This link will only be valid for a limited period of time.  If you are unable to download the file before the link becomes obsolete, please let me know so it can be posted again.
Donovan
0 Kudos
Message 6 of 22
(6,344 Views)

Hi Donovan

 

Could you please upload this SpartanServer again? I want to learn this example also.

 

Thanks

Supawat

0 Kudos
Message 7 of 22
(6,214 Views)
You should now be able to access it here.
Donovan
0 Kudos
Message 8 of 22
(6,191 Views)

Donovan B, Thanks for responding to my question ( and sorry for soooo late response Smiley Tongue I was working on other projects )

The complier is working fine. I've compiled and downloaded my VI and it's looking great. Again, thanks so much you made my life easeier.

0 Kudos
Message 9 of 22
(6,184 Views)

Donovan

 

I got it. Thanks you very much.

 

Supawat.

0 Kudos
Message 10 of 22
(6,169 Views)