12-09-2011 03:45 AM
Same here, I have a CAN message filter on an sbRIO-9632 FPGA that worked fine under 2010, but now fails to compile with a Xilinx duplicate object error in 2011.
NI support are looking at this, but I have reverted to 2010 in the meantime.
John.
12-15-2011 03:14 AM
Turned out that my compilation problem was caused by a case structure with an empty default case (which was intentional, and compiled fine in 2010).
The fix for me was to right click the case structure, remove all empty cases, and then add a new empty default case.
No idea why this action should make a difference, but after performing it, the code compiled fine in 2011.
Cheers,
John.
07-11-2012 10:55 AM
Thanks for posting this John.
Removing 4 empty cases then adding them again fixed it for me too.
I was getting
'LabVIEW FPGA: The compilation failed due to timing violations.', Non-diagram component, a CAN module. The cases were in 4 loops receiving CAN messages.
Last update was 1/2011 by somebody else so that must have been LV 2010.
At least it builds now. Onwards to the next problem...
David
CompactRIO 9022
LabView 2011 Professional, Version 11.0 (32bit).
10-20-2012 07:46 AM
@JohnGrove wrote:
Turned out that my compilation problem was caused by a case structure with an empty default case (which was intentional, and compiled fine in 2010).
Thanks for the tip. I was running into the same error message as the original poster after copying a block diagram from one project to another on the same pc. It had one case structure with an "empty" case (connected wire terminals but no functions.) Deleting and recreating the case worked for me too.
LV2012 f1 (32-bit)
cRIO-9074
Xilinx 13.4 (64-bit)
10-20-2012 09:43 AM
@Daklu wrote:
Deleting and recreating the case worked for me too.
I take it back. It compiled once but further edits have caused the error to resurface and I can't get rid of it again.
09-05-2013 12:32 PM - edited 09-05-2013 12:34 PM
Hi all,
I just ran into this same problem and wanted to add that this fix worked for me too. I'm on a real-tight timeframe, so trying a new version of LV FPGA would be my last resort, so I'm very thankful for this post. Thanks!
My design compiled fine in LV FPGA 2011 SP1 (Xilinx 12.4) and had been running fine, I ended up changing the default case in a case structure (as well as a FIFO size) and then I got this compile error. Fortunately I found this post and in my case I was able to remove the case structure and use a few select vi's and it recompiled and ran fine.
Many thanks!
Stu
11-28-2013 07:46 AM
Same problem here...
Everything was compiling fine but now, I run into the error.
The final Timing seems OK to me (see the picture attached). Also, the error seems to appear at the very end of the compilation. The last entry in the Xilinx Log is "Process "Generate Programming File" completed successfully" (see the picture attached).
I would like to have someone from NI thoughts about this.
12-02-2013 02:26 PM
Hi vgravel
Could you share more information about your set up so we could research more about it? RIO version, LabVIEW FPGA version, Xilinx tools version?
Was it compiling fine before? What changes did you make before get this error? Could you attach the xilinx log to the thread?
A recommendation: it is always better to start a new thread in these cases because this one is old, and if you use an appropriate title more people with knowledge on this could get involved (and we can keep order).
Regards
Frank R.
12-03-2013 02:59 AM - edited 12-03-2013 03:09 AM
I have exactly the same problem. The compilation fails due to timing violations, but no path information is provided.
Moreover, the Xilinx log reports that the compilation has been successfull.
These are my systems settings:
LabVIEW FPGA 2012
FPGA board: NI PXIe-5641R
Xilinx tools version:13.4
Regards
12-03-2013 10:57 AM
Hello tommpogg
Your xilinx tools is the correct for LabVIEW FPGA 2012. About the error, that could due to: Timing Violations When Using DMA FIFOs Wider than the Datatype Pushed Through.
You could read this document and take into account the recommendations at the end of the document (links under references). High Data Rate Filtering on the NI PXIe-5641R RIO IF Transceiver.
Again, each issue is different and I recommend you to start a different thread so we can analyze each case individually and help you better. We should keep order with the documentation.
Regards
Frank R.