From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I get extremely long compile time with FIFO on the cRIO-9073?

Solved!
Go to solution

I am using a cRIO-9073 to develop a data acquisition system.

 

When I try to use a FIFO to pass data from the FPGA to the host, I get extremely long compile times (hours!!).

 

I am using only one analog input from a 9205 module at present in my FPGA loop.

 

Is there some explication to that?

 

Thanks for any help you can provide.

 

Michel

0 Kudos
Message 1 of 6
(2,892 Views)

Michel, how much RAM do you have in your system? FIFOs do add a decent amount of under-the-hood bits to the FPGA, and maybe it pushed it past the memory limit where the compiler starts temporarily storing data on disk. This can make compiles run for an order of magnitude longer. Adding the FIFO may have pushed you over that limit.  Having at least a gig of RAM will definitely make life better for compiling.

--Paul Mandeltort
Automotive and Industrial Communications Product Marketing
Message 2 of 6
(2,879 Views)
Solution
Accepted by topic author Michel_L

Paul,

 

Thanks for your reply.

 

I finally found the problem: the FIFO size I had requested in the FIFO's properties was too big at 32K elements times 4 (for U32 data type of the FIFO). It was filling the FPGA 128K RAM completely, leaving no flexibility for the compiler for the remaining logic. Too bad there was no warning message for that!

 

By reducing the size of my FIFO to 4K, the compile time came back to around 5-10 minutes instead of hours!

 

Michel Lanthier

0 Kudos
Message 3 of 6
(2,870 Views)
It seems to me that Paul answered your question; you should mark his reply as the answer instead of your own. :smileywink:
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 4 of 6
(2,852 Views)

Jim,

 

The problem was not the amount of memory in my PC (I do have 1G or RAM in my PC). The problem was the size of the FIFO which would not fit in the FPGA. The solution was to reduce the size of the FIFO.

 

I did not think the goal of this forum was to be a race to get the most KUDOS and ACCEPTED SOLUTION tags but rather to help everybody solve their problems as efficiently as possible.Smiley Sad

 

Regards,

 

Michel

Message 5 of 6
(2,823 Views)

The goal is most certainly not to get the most KUDOS and ACCEPTED SOLUTIONS, but they sure are nice. :smileyhappy:

I understand that I missed the solution, though.  Sorry.

Message Edited by jcarmody on 03-08-2009 08:13 PM
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 6 of 6
(2,806 Views)