然后在综合时报出下述warning:
Warning: A non-unate path in clock network for clock 'clk'
from pin 'inst_dec_top/inst_clk_div/U6/Y' is detected. (TIM-052)
Warning: A non-unate path in clock network for clock 'mclk'
from pin 'inst_dec_top/inst_clk_div/U3/Y' is detected. (TIM-052)
......
我的源代码是
always @(posedge rf_clk or negedge rst_n)
if(!rst_n) clk <= 1'b0;
else if(counter==6'd63) begin
if(cur_state==SOF) clk <= 1'b0;
else clk <= ~clk;
end