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: 

Multiply-Accumulator (MAC) Xilinx IP core always returns 0

Hi All,

 

I'm working with Labview 2014 for FPGA with cRio 9082 device. I'm trying to use the Multiply Accumulator Xilinx IP core. No matter what I try, the function always returns 0. Attached is a project file illustrating the issue. Note that there is also a simple Multiplier IP core in the example which is working properly.

 

The behaivior is the same in both simulation and after compilation.

 

Any idea what I'm doing wrong?

 

I tried to upload the project as a zip file, but I get an error message that it's contents don't match the .zip file extension. The minimal example can be found here:

 https://www.dropbox.com/s/317t6hhbdkrq6fj/MAC_project.zip?dl=0

 

Thanks!

 

Arnold

0 Kudos
Message 1 of 2
(3,042 Views)

Hello,

 

For these functions, I recommend looking at the documentation for these functions from the Xilinx website. Information like the following.

 

https://www.xilinx.com/products/intellectual-property/multiply_accumulator.html

 

What happens if you enable the bypass to be true for some rounds? Do you have some screenshots showing inputs and outputs of the function?

 

Best,

 

Shamik C

Applications Engineer 

National Instruments 

http://www.ni.com/support 

 

 

0 Kudos
Message 2 of 2
(2,971 Views)