LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Crio FPGA Compiling error

Hello All,

I've run into a compiling error that has me stumped. I'm using labview 8.5.1, NRIO 2.4.0, and FPGA 8.5.1 on a CRIO-9014 & 9104. When compiling the code attached I get the following error:

Analyzing generic Entity <bushold> in library <work> (Architecture <rtl>).
ERROR:Xst:807 - "C:/NIFPGA85/srvrTmp/LOCALH~1/PLANEV~1/bushold.vhd" line 1541: arguments of 'or' operator must have same lengths.
-->

Total memory usage is 546644 kilobytes

Number of errors   :    1 (   0 filtered)
Number of warnings :  540 (   0 filtered)
Number of infos    :    2 (   0 filtered)

ERROR:Xflow - Program xst returned error code 6. Aborting flow execution...

My best guess is this error has something to do with the metafiles generated by labview before final compilation into the FPGA bitstream. I've tried tweaking the code here and there and haven't found the source of the error yet. I'm going to go through with disable blocks and see where the error lies.

Anyone else run into something like this? I could use some help.
0 Kudos
Message 1 of 3
(2,854 Views)
I worked through the code with the disable block.... It appears the FPGA compiler does not like bundles of 1-D arrays. Now that I've taken my bundle and broken it into 4 1-D arrays things are compiling cleanly.

I know 2-D arrays are not supported on the FPGA, but there is no note that states bundles of 1-D arrays are not allowed. I believe this would be helpful to add to the help context dialog or help dialog for bundles.
0 Kudos
Message 2 of 3
(2,831 Views)
Hi mmalluck,
 
Clusters of 1D arrays are supported in LabVIEW FPGA.  I was able to compile a small VI with code similar to yours - a for loop with four autoindexed tunnels bundled into a cluster. 
 
I am not entirely sure why separating the arrays eliminated that error, but I am glad to hear that your program compiles now. 
Jennifer R.
National Instruments
Applications Engineer
0 Kudos
Message 3 of 3
(2,810 Views)