Xilinx / HLS_packet_processing

Other
45 stars 21 forks source link

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

Open kkilictepe opened 3 years ago

kkilictepe commented 3 years ago

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?

stephenneuendorffer commented 3 years ago

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?

kkilictepe commented 3 years ago

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.