Forum Discussion

messn036's avatar
messn036
Icon for New Contributor rankNew Contributor
4 years ago

Compiler Error: Operation cannot operate on addresses from different interfaces

I am getting the following error from the HLS compiler when compiling for FPGA.

"Compiler Error: Operation cannot operate on addresses from different interfaces"

The compiler points to the first line in a function that looks like this

template<class T>
TensorXL<T>::TensorXL(const TensorXL<T> &A) //copy constructor
{
	t_numCols = A.t_numCols;
	t_numRows = A.t_numRows;
	transposed = A.transposed;
	for (unsigned i = 0; i < A.t_numRows; i++)
	{
		for (unsigned j = 0; j < A.t_numCols; j++)
		{
			matrix[i][j] = A.matrix[i][j];
		}
	}
	null = false;
}

What does this error mean? What limitation am I running into?

Thanks,

messn036

4 Replies

  • aikeu's avatar
    aikeu
    Icon for Regular Contributor rankRegular Contributor

    Hi, messn036


    It will take me some time to look into this at the moment.

    I will get back to you soon.


    Thanks.


    Regards,

    Aik Eu


    • messn036's avatar
      messn036
      Icon for New Contributor rankNew Contributor

      Any progress? I cannot find a detailed breakdown of this error anywhere so I have no idea what it even means.

  • aikeu's avatar
    aikeu
    Icon for Regular Contributor rankRegular Contributor

    Hi messn036,


    Can provide more info or document which you refer to build your project?


    Thanks.


    Regards,

    Aik Eu


  • aikeu's avatar
    aikeu
    Icon for Regular Contributor rankRegular Contributor

    We do not receive any response from you to the previous question/reply/answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.