映射失败通常有两种模式。失败发生于预检查阶段,或者可能在实际映射阶段中发生。
预检查失败具有显式错误消息,以指出失败的准确原因,如以下示例所示。
ERROR: [aiecompiler 47-772] Inst g.kernel_a is in conflicting pblocks:(0,0) (5,5) and (20,0) (25,5).
您可追踪此类错误,找到设计元件或约束。
映射阶段失败通常会显示如下错误消息。
ERROR: [aiecompiler 47-51] AIE Mapper failed to find a legal solution. Please try to relax constraints and/or try alternate strategies like disableFloorplanning.
在此情况下,请使用下列步骤缩小失败范围(前提是原因与设计相关),或者如果失败原因与工具相关,则请帮助工具找到解决方案。