PYNQ: PYTHON PRODUCTIVITY

Ap_int<32> could not be resolved

Hi, I am writing a code of matrix mult.
I got the error on the folowing as type ‘ap_int<32>’ could not be resolved.
I include the header file and i defines mata_a,mata_b,mata_c as ap_int<32> and i also include the “ap_int.h” file in the header.
But the error still do not disappear, is that correct or i have to run C synthesis?
The header file:


The main cpp file:

I appreciate your advice!
Tim

Hi @TingShen_Kuo,

You code looks good. Sometimes the Vivado GUI does not update.
A quick comment mata_t, matb_t, matc_t looks to be declared twice.

What happens if you run synthesis?

Mario

Thanks for your advice!
Tim