LabVIEW FPGA Module Returns Compilation Errors When I Have Unconnected Outputs on FPGA Device I/O FunctionsPrimary Software:Primary Software Version: 1.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: When I try to compile an FPGA VI containing an FPGA Device I/O function, such as Analog Input, that has an unconnected output, the LabVIEW FPGA Compile Server stops running and returns the following error message: Writing NGDBUILD log file "toplevel_gen.bld"... ERROR:Xflow - Program ngdbuild returned error code -1. Aborting flow execution... I also receive the error if I have an FPGA Device I/O function or VI wired to an empty structure or when I have a Memory Write VI without a Memory Read VI on the block diagram. Solution: The LabVIEW FPGA Module uses a third party tool to convert the compiled VHDL code to the bit stream that is downloaded to the FPGA device. The third party tool optimizes out code that does not get used, such as an Analog Input function missing an output or a Memory Write VI without a Memory Read VI. The error message informs you of the code that has been optimized out. To avoid the error message and successfully compile the FPGA VI, wire unused FPGA Device I/O function outputs to objects on the block diagram, such as shift registers or indicators. If you receive the error because you have a wire into an empty structure, place an object in the empty structure and wire to it. If you receive the error because you have a Memory Write VI without a Memory Read VI, place a Memory Read VI on the block diagram and wire it to an indicator. Save the VI and click the Run button to recompile. Related Links: Developer Zone Tutorial: FPGA-Based Control: Millions of Transistors at Your Command (FAQ) Attachments:
Report Date: 05/06/2003 Last Updated: 08/26/2009 Document ID: 2LGE5KN8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
