一、设计中warning1.Static variables and non-static stream cannot be used inside a dataflow region2.WARNING: [HLS 214-114] Only function calls and local variable declarations are allowed in a dataflow region3.WARNING: [HLS 214-104] Only for-loops and functions support the dataflow4.WARNING: [SYNCHK 200-23] xxx.h:44: variable-indexed range selection may cause suboptimal QoR.5.WARNING: [XFORM 203-713] Reading dataflow channel xxx.V in the middle of dataflow may stall the dataflow pipeline:6.WARNING: [XFORM 203-713] Argument xxx.V has read operations in process function Loop_1_proc.7.WARNING: [XFORM 203-542] Cannot flatten a loop nest Loop-1 (src/xxx.h:33:33) in function xxx :more than one sub loop.8.WARNING: [XFORM 203-561] loop_wait_for_sync (xxx.h:88:23) in function xxx is an infinite loop.9.WARNING: [SCHED 204-68] The II Violation in module xxx: Unable to enforce a carried dependence constraint (II 1, distance 1, offset 1)between store operation (src/xxx.h:63) of variable p_Result_30_1_i_i, xxx:63 on array line_buf[0][0].V, xxx.h:19 and store operation (src/xxx.h:63) of variable tmp_90, src/xxx.h:63 on array line_buf[0][0].V, src/xxx.h:19.WARNING: [SCHED 204-68] The II Violation in module xxx: Unable to enforce a carried dependence constraint (II 2, distance 1, offset 1)between store operation (src/xxx.h:63) of variable p_Result_30_2_i_i, xxx.h:63 on array line_buf[0][0].V, xxx.h:19 and store operation (src/xxx.h:63) of variable tmp_90, src/xxx.h:63 on array line_buf[0][0].V, src/xxx.h:19.WARNING: [SCHED 204-68] The II Violation in module xxx: Unable to enforce a carried dependence constraint (II 3, distance 1, offset 1)between store operation (src/xxx.h:63) of variable p_Result_30_3_i_i, xxx.h:63 on array line_buf[0][0].V, xxx.h:19 and store operation (src/xxx.h:63) of variable tmp_90, src/xxx.h:63 on array line_buf[0][0].V, src/xxx.h:19.WARNING: [SCHED 204-68] The II Violation in module xxx: Unable to enforce a carried dependence constraint (II 4, distance 1, offset 1)between store operation (src/xxx.h:63) of variable p_Result_30_4_i_i, xxx.h:63 on array line_buf[0][0].V, xxx.h:19 and store operation (src/xxx.h:63) of variable tmp_90, src/xxx.h:63 on array line_buf[0][0].V, src/xxx.h:19.WARNING: [SCHED 204-68] The II Violation in module xxx: Unable to enforce a carried dependence constraint (II 7, distance 1, offset 1)between store operation (src/xxx.h:63) of variable p_Result_30_7_i_i, xxx.h:63 on array line_buf[0][0].V, xxx.h:19 and store operation (src/xxx.h:63) of variable tmp_90, src/xxx.h:63 on array line_buf[0][0].V, src/xxx.h:19.INFO: [SCHED 204-61] Pipelining result : Target II 1, Final II 8, Depth 27.二、模块实现过程1.启动scheduling调度2.对循环或者函数进行pipelining优化并给出优化结果Target II x,Final IIy,Depthz3.完成Scheduling调度4.调度已用时间统计当前分配内存的大小。5.开始进行微架构生成6.执行变量声明周期分析7.探索资源共享8.资源绑定9.完成微架构生成10.统计微架构生成的时间以及当前分配内存的大小。