取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
Daming_Wang
Visitor
Visitor
195 次查看
注册日期: ‎02-20-2021

HLS怎么减少control sets的使用

[Place 30-487] The packing of instances into the device could not be obeyed. There are a total of 8820 CLBs in the device, of which 4706 CLBs are available, however, the unplaced instances require 4944 CLBs. Please analyze your design to determine if the number of LUTs, FFs, and/or control sets can be reduced.

Number of control sets and instances constrained to the design
Control sets: 1434
Luts: 61052 (combined) 75481 (total), available capacity: 70560
Flip flops: 62898, available capacity: 141120
NOTE: each CLB can only accommodate up to 4 unique control sets so FFs cannot be packed to fully fill every CLB

在implement时候报错,我看资源方面没有超过,我觉得应该是CLB的数量不够导致控制集放不下,但是什么事控制集,我在HLS中又如何去减少它的使用

0 项奖励
3 回复数
wenchen
Moderator
Moderator
139 次查看
注册日期: ‎05-27-2018

Hi @Daming_Wang 

这个报错是vivado 阶段的报错了,请问你在HLS IP 的设计阶段,资源就已经超出了吗?

Check "Control Signals and Control Sets" at page 39 in below User guide:

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_2/ug949-vivado-design-methodology.pdf

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.


**~ Got a minute? Answer our Vitis HLS survey here! ~**


-------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 项奖励
Daming_Wang
Visitor
Visitor
128 次查看
注册日期: ‎02-20-2021

确实确实已经超过了,但是之前hls综合后lut为130k的时候可以被vivado成功生成bitstream,然后因为程序的需要添加一些功能后并对一些大的模块进行复用,综合后lut降为100k的时候反而vivado implement失败了

0 项奖励
Daming_Wang
Visitor
Visitor
100 次查看
注册日期: ‎02-20-2021

我现在知道什么是控制集,但是在HLS中我怎样才能减少控制集的使用,是减少子函数的数量吗,可以给一些建议吗

0 项奖励