HLS_packet_processing icon indicating copy to clipboard operation
HLS_packet_processing copied to clipboard

Cannot apply disaggregate pragma/directive on object 'ih' as there is an aggregate write on it

Open kkilictepe opened this issue 5 years ago • 2 comments

Hi,

2 issues.

1- I can C synthesis mold_remover_stream but when I try mold_remover_packet it fails because of the errors:

Cannot apply disaggregate pragma/directive on object 'ih' as there is an aggregate write on it (../common\ip.hpp:414:46) Cannot apply disaggregate pragma/directive on object 'uh' as there is an aggregate write on it (../common\ip.hpp:414:46) Cannot apply disaggregate pragma/directive on object 'p' as there is an aggregate write on it (../common\ip.hpp:1864:58)

I cloned the latest version of Boost. Might this be the problem?

2- Where can I find directives?

kkilictepe avatar Jan 18 '21 20:01 kkilictepe

I suspect you're using Vitis HLS? This code was developed with Vivado HLS in mind and this is probably one of the minor coding differences that requires some update.

I don't understand what directives you're looking for?

stephenneuendorffer avatar Jan 18 '21 21:01 stephenneuendorffer

Yes. Vitis HLS 2020.2. I have been working on it for about 2 days to figure out where I should change to make it compile. It would be great if you could shed some light.

I also tried boost 1.58 , but it didnt work either.

2-#pragma directives.

kkilictepe avatar Jan 18 '21 22:01 kkilictepe