FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5890 Discussions

how I can fix LABs requirements? I use the DE1_soc board, OS is ubuntu 18.04, and the intelFPGA_18.1 standard version. when I was trying to Compiling for FPGA then the following error generated.

GTese
New Contributor I
487 Views

aoc: First stage compilation completed successfully.

Compiling for FPGA. This process may take a long time, please be patient.

Error (170012): Fitter requires 5692 LABs to implement the design, but the device contains only 4191 LABs

Error: Cannot fit kernel(s) on device

0 Kudos
4 Replies
EBERLAZARE_I_Intel
433 Views

Hi,

 

Based on my knowledge, you may need to remove some logics to optimize and fit your design.

 

Is there any other error during your compilation?

0 Kudos
GTese
New Contributor I
434 Views

Thanks!

I have optimized my kernel code and it work now.

The other error when I try to compiling as emulator the following error was generated.

aocl-clang: error: unable to execute command: posix_spawn failed: No such file or directory

aocl-clang: error: linker command failed due to signal 1 (use -v to see invocation)

aocl-clang: note: diagnostic msg: Please submit a bug report to http://llvm.org/bugs/ and include command line arguments and all diagnostic information.

aocl-clang: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs.

Error: Optimizer FAILED.

Refer to My_Kernel/My_Kernel.log for details.

0 Kudos
EBERLAZARE_I_Intel
434 Views

Helo,

 

I could not find the exact workaround regarding your error, it could be that there is a conflict of a symbolic link that is wrongly represented, can you check the below discussion if it is related to yours?:

https://github.com/darlinghq/darling/issues/170

0 Kudos
GTese
New Contributor I
434 Views

Thank you!

Really, I appreciate you for great help.

It is working for me.

0 Kudos
Reply