问题描述
[DRC LUTLP-1] Combinatorial Loop Alert: 1 LUT cells form a combinatorial loop. This can create a race condition. Timing analysis may not be accurate. The preferred resolution is to modify the design to remove combinatorial logic loops. If the loop is known and understood, this DRC can be bypassed by acknowledging the condition and setting the following XDC constraint on any one of the nets in the loop: ‘set_property ALLOW_COMBINATORIAL_LOOPS TRUE [get_nets <myHier/myNet>]’. One net in the loop is write_read_top/u_sdram_controller/wr_cnt[3]_i_5_n_0. Please evaluate your design. The cells in the loop are: write_read_top/u_sdram_controller/wr_cnt[3]_i_5.
解决办法
- 再xdc中添加如下的约束:
set_property ALLOW_COMBINATORIAL_LOOPS true [get_nets -of_objects [get_cells write_read_top/u_sdram_controller/main_state[3]_i_16]]
set_property ALLOW_COMBINATORIAL_LOOPS true [get_nets -of_objects [get