cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with FPGA and Ethercat expansion chassis.

SOLVED
Solved!

Problem with FPGA and Ethercat expansion chassis.

Message contains a hyperlink Message contains an image Message contains an attachment

Hi

I have a simple FPGA program that compiles in cRIO without any problems, but I want to use the FPGA program on the NI 9144 EtherCAT Expansion Chassis in FPGA mode to NI PXIe 8135 (Code file attached). As you know there are some differences between programming the local FPGA and the FPGA for EtherCAT RIO, that must be used user-defined I/O variables (this paper).

For Compiling I did step by step as this paper said, we get successful processes, but after file generation complete we have an error (that attached). It shows that the file can not run in chassis. 

Please help me.

error.PNG

Regards. 

4 REPLIES 4
RavensFan
Knight of NI

Problem with FPGA and Ethercat expansion chassis.

Your message seems to be unrelated to the 3 year old thread in which it was posted.  I've moved it to a new thread and gave it an appropriate title so it will get attention.

MichaelFay
NI Employee (retired)

Problem with FPGA and Ethercat expansion chassis.

Hello, 

 

It appears that you are violating timing requirements. Make sure you update any Single Clock Time Loops (SCTL) to meet the new requirements.

 

-Michael 

Re: Problem with FPGA and Ethercat expansion chassis.

Thanks for your attention.

 

Highlighted
Solution

Re: Problem with FPGA and Ethercat expansion chassis.

Message contains a hyperlink

Hi

I found the solution for Timing Violation Errors, In this link ( section 4)

The following are suggestions for improving timing in your FPGA code:

  • Adjust the build settings to optimize for performance (Note: this may increase compilation times, and may result in area trade-offs).
  • Optimize your code. Try the following best practices and optimization techniques within your LabVIEW FPGA code.
    • Reduce the amount of logic in the VI
    • Add pipelining to increase parallelism
    • Use Timed Loops instead of other loops
    • Change arbitration settings

I just use Timed Loops instead of other loops, so the compilation runs successfully.  

Regards.