Altera_Forum
Honored Contributor
8 years agoError (11802): Can't fit design in device. Modify your design to reduce resources,
I have successfully run vector_add on the de0nano board example, but when i run the example of matrix_mult, I encountered the above error and view the log as follows:
Error (11802): Can't fit design in device. Modify your design to reduce resources, or choose a larger device. The Intel FPGA Knowledge Database contains many articles with specific details on how to resolve this error. Visit the Knowledge Database at https://www.altera.com/support/support-resources/knowledge-base/search.html and search for this specific error message number. Info (144001): Generated suppressed messages file F:/quartus16.1/hld/board/test/exm_opencl_matrix_mult_x64_windows_16.01/matrix_mult/bin/matrix_mult/top.fit.smsg Error: Quartus Prime Fitter was unsuccessful. 2 errors, 261 warnings Error: Peak virtual memory: 3462 megabytes Error: Processing ended: Thu May 11 10:52:45 2017 Error: Elapsed time: 00:15:22 Error: Total CPU time (on all processors): 00:24:57 Error (293001): Quartus Prime Full Compilation was unsuccessful. 4 errors, 2196 warnings Error: Flow compile (for project F:/quartus16.1/hld/board/test/exm_opencl_matrix_mult_x64_windows_16.01/matrix_mult/bin/matrix_mult/top) was not successful Error: ERROR: Error(s) found while running an executable. See report file(s) for error message(s). Message log indicates which executable was run last. Error (23031): Evaluation of Tcl script f:/quartus16.1/quartus/common/tcl/internal/qsh_flow.tcl unsuccessful Error: Quartus Prime Shell was unsuccessful. 11 errors, 2196 warnings Error: Peak virtual memory: 506 megabytes Error: Processing ended: Thu May 11 10:52:46 2017 Error: Elapsed time: 00:37:33 Error: Total CPU time (on all processors): 00:00:12 -------------------------------------------------------------- I have the kernel file BLOCK_SIZE reduced to 8, the original is 64 __attribute ((reqd_work_group_size (BLOCK_SIZE, BLOCK_SIZE, 1))), I think the resources should not be out of it, why would this error? Does anyone know how to fix it? Thank you! + ------------------------------------------------- ------------------- + ; Estimated Resource Usage Summary; + ---------------------------------------- + -------- ------------------- + ; Resource + Usage; + ---------------------------------------- + -------- ------------------- + ; Logic utilization; 55%; ; ALUTs; 33%; ; Dedicated logic registers; 25%; ; Memory blocks; 37%; ; DSP blocks; 36%; + ---------------------------------------- + -------- -------------------;