LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does my FPGA compilation stop?

Hey guys,

 

I recently noticed that my FPGA compilation stops! (Or it doesnt progress, to be accurate)

Theres no error or anything. The progress bar will get stuck at a status, and no matter how many hours is put in, it will not move.

 

It doesn't always get stuck; currently the chance is about 70%.

It might get stuck at device utilization or timing, so it is always not at the same process

 

I tried rebooting computer, creating a new project with an empty FPGA VI and it still will not complete.

 

Does anybody know how to fix/investigate this issue?

 

Thanks

0 Kudos
Message 1 of 13
(5,632 Views)

Hi doradorachan,

 

Can you tell us what OS, what versions of the compilation tools, LabVIEW, FPGA Module, and NI-RIO are you using?  These would be helpful to determine if there are any incompatibility issues.  Also, how long is the longest time that it has spent compiling?

 

Thanks,

 

David Bell

National Instruments

Applications Engineer

 

 

0 Kudos
Message 2 of 13
(5,594 Views)

Windows 8.1

LabVIEW 2013 SP1

FPGA  module 2013 SP1

I forgot which NI-RIO but it is the one that comes with Developer Suite 2014 DS1

 

I was told by another AE that xilinx compilation tools 14.4 is not compatible with windows 8.1.

Another windows 8.1 laptop with the same LabVIEW versions can compile them fine

so I am not sure if it is actually a compatibility issue. But I guess I will just have it compile them for the time being

0 Kudos
Message 3 of 13
(5,568 Views)

Unfortunately, it is likely an issue with the operating system.  NI Compile Tools repackage the Xilinx Compile Tools and currently Xilinx does not support compilation on Windows 8.  Something about how system structure is different.  Is the windows version the same on both computers? There are normally different flavors of Windows (Professional/Student/Enterprise) that could play a factor.  Or really just a lucky compile that gets around the whole not sure where to read on the new OS type of deal.

0 Kudos
Message 4 of 13
(5,551 Views)

I have tried this

 

http://forums.xilinx.com/t5/Installation-and-Licensing/Xilinx-ISE-installation-problem-on-windows8-R...

 

making all the right modifications on the .bat file for the correct paths and it worked for me.

 

LabVIEW 2014 DS2
(inc. LabVIEW FPGA 2014 Module)

Windows 8.1

 

including the modified .bat file for default folder installation and the correct SmartHeap DLLs from the Xilinx Forum link above.

 

Hope this helps 😉

0 Kudos
Message 5 of 13
(5,141 Views)
  • I found that the %RUNPATH% had an extra backslash. (see below)
  • Also added path for Xilinx14.4 in case you are using LV 2013. (see below)
  • I found that I needed to run the Compile Worker with Windows7 compatability mode.

Xilinx_Win8_fix_for NI_FPGA.bat

set RUNPATH=%~DP0
set XILPATH=D:\NIFPGA\programs
set SH32PATH=%RUNPATH%SmartHeap-Windows8\SHSMP.DLL
set SH64PATH=%RUNPATH%SmartHeap-Windows8\SHSMP64.DLL

echo Applying patch...

copy %SH32PATH% %XILPATH%\Vivado2013_4\.xinstall\bin\nt
copy %SH64PATH% %XILPATH%\Vivado2013_4\.xinstall\bin\nt64

copy %SH32PATH% %XILPATH%\Vivado2013_4\ids_lite\ISE\lib\nt
copy %SH64PATH% %XILPATH%\Vivado2013_4\ids_lite\ISE\lib\nt64

copy %SH32PATH% %XILPATH%\Vivado2013_4\lib\win32.o
copy %SH64PATH% %XILPATH%\Vivado2013_4\lib\win64.o

copy %SH32PATH% %XILPATH%\Xilinx14_7\.xinstall\bin\nt
copy %SH64PATH% %XILPATH%\Xilinx14_7\.xinstall\bin\nt64

copy %SH32PATH% %XILPATH%\Xilinx14_7\common\lib\nt
copy %SH64PATH% %XILPATH%\Xilinx14_7\common\lib\nt64

copy %SH32PATH% %XILPATH%\Xilinx14_7\ISE\lib\nt
copy %SH64PATH% %XILPATH%\Xilinx14_7\ISE\lib\nt64

copy %SH32PATH% %XILPATH%\Xilinx14_7\PlanAhead\lib\win32.o
copy %SH64PATH% %XILPATH%\Xilinx14_7\PlanAhead\lib\win64.o


copy %SH32PATH% %XILPATH%\Xilinx14_4\.xinstall\bin\nt
copy %SH64PATH% %XILPATH%\Xilinx14_4\.xinstall\bin\nt64

copy %SH32PATH% %XILPATH%\Xilinx14_4\common\lib\nt
copy %SH64PATH% %XILPATH%\Xilinx14_4\common\lib\nt64

copy %SH32PATH% %XILPATH%\Xilinx14_4\ISE\lib\nt
copy %SH64PATH% %XILPATH%\Xilinx14_4\ISE\lib\nt64

copy %SH32PATH% %XILPATH%\Xilinx14_4\PlanAhead\lib\win32.o
copy %SH64PATH% %XILPATH%\Xilinx14_4\PlanAhead\lib\win64.o

echo Done applying patch.
pause

 

0 Kudos
Message 6 of 13
(5,031 Views)

Hmm, this worked for me on two other Windows 8 boxes with Labview 2013 but not working on new Windows 8 box with Labview 2014 (professional 14.0f1) even with Compiler Worker in Windows 7 Compatibility Mode.  

 

Anyone have other ideas?

 

Thanks,

Steve

0 Kudos
Message 7 of 13
(4,861 Views)

2014 does use a different set of Xilinx tools then 2013 :

Which Version of the Xilinx Compile Tools Do I Need to Compile My LabVIEW FPGA Code?

 

Workaround : You can use FPGA Cloud Compile (free with SSP):

http://sine.ni.com/nips/cds/view/p/lang/en/nid/209927

 

 

0 Kudos
Message 8 of 13
(4,833 Views)

@D* wrote:

2014 does use a different set of Xilinx tools then 2013 :

Which Version of the Xilinx Compile Tools Do I Need to Compile My LabVIEW FPGA Code?

 

I have the correct Xilinx Tools version (14.7).  I'm now downdrading to 2013 to see if that helps.

 


 

0 Kudos
Message 9 of 13
(4,820 Views)

Hi reading these answers, I only changed the CompileWorker.exe and the other .exe in the same folder to run with Windows 7 Compatibility.

I’m using Windows 8.1 Pro, Labview 2013 DS2, Xilinx14_4

Now my FPGA complier is working again!

0 Kudos
Message 10 of 13
(4,762 Views)