From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Crio_9024: FPGA compilation error_resource overmapping_DSP48s 114.6% used

Hello,

I am using labview 2013 with CRIO-9024

I have a problem with my labview FPGA compiler where it brings up an error at the mapping stage due to resource overmapping. The issue is shown as DSP48s 114.6%  of total 48. I am not familiar with this term as I have only used FPGA with labview. However from what I gathered through reading other discussions that there is a way to force the complier to use more of the LUT slices and other slice registers if the DSP48s is full. note that my slice LUTs are at 30% and my slice registers are at 22% for the VI that i am trying to compile. 

I am not sure why this is happening on my machine although the code is not that big, and it is the first time that it happens. 

 

I would appreciate any help. 

 


 

Kind Regards

 

Ali

 

0 Kudos
Message 1 of 7
(2,950 Views)

We would need to see the vi to help offer input on how to optimize your resource usage.  Be careful with complex math operations and high throughput fized point math as they can eat up DSP48's.  Please post the VI for further assistance, the log will not help us offer advice on resource usage.

0 Kudos
Message 2 of 7
(2,927 Views)

Hello A_Tish,

 

Thanks for your reply. herewith the code i am trying to compile on the fpga. The bit that i find annoying is that the code is eating the DSP48s but keeping the slice LUT and registers at low consumption.

just a brief description of what the code does:

 

Reads 4 input signals: two acceleration signals. One voltage signal. one Current signal. 

the whole idea of the application is to reduce the acceleration of a particular mass using an actuator that is driven by a power amplifier fed from the PID output in the code. the PID generates the required voltage to the power amplifier based on comparing two current signals, a reference and the actual one of the actuator.

 

if you need further information about the code, please let me knoe.

 

I just have to note that this code run on nimyrio perfectly without a problem. so the assumption is that it should compile without a problem on a compact rio.

 

Kind Regards

Ali

0 Kudos
Message 3 of 7
(2,875 Views)

I am out of town but will check the VI out.  The myRIO from what I recall, uses the new Kintex family which is quite large.  There is a chance that the new crio FPGA is smaller but I wlll check that out as some point today and see if I cannot help.

Good luck in the meantime while the community reviews and tries to help.

0 Kudos
Message 4 of 7
(2,855 Views)

Thanks for your response. Actually I have managed to figure out what my problem was. I can confirm it is not a Labview/Xilinx compiler bug. I actually was using a block that was eating up most of the DSP48s. But many thanks for your help. 

0 Kudos
Message 5 of 7
(2,853 Views)

Hello Ali_H,
I am using labview 2013 with RIO0-7851R, and I met the same problem, that is the code is eating the DSP48s but keeping the slice LUT and registers at low consumption.
I look for help but didn't solve my problem.
Do you find the way to force the complier to use more of the LUT slices and other slice registers if the DSP48s is full?
Looking forward to your reply.

Kind Regards
LiPo

0 Kudos
Message 6 of 7
(2,588 Views)

If you can, it would probably be best to start your own thread and post the application you are trying to compile. Getting the compiler to use more of one resource over another usually involves figuring out what is using the majority of the specific resource you are trying to minimize and replacing it with something that has comparible functionality but uses different resources or optimizing algorithms to use less.

 

A_Tish posted some really good general advice but like they mentioned, we can't do much more without code.

Matt J | National Instruments | CLA
0 Kudos
Message 7 of 7
(2,581 Views)