helpppppppppppppppppp

[复制链接]
2066|0
 楼主| y495340039 发表于 2012-9-29 22:19 | 显示全部楼层 |阅读模式
always @(state,clk2hz)  
begin
case(state)
  state0:blink[2:0]<='b111;
  state1:blink[2]<=clk2hz;
  state2:blink[1]<=clk2hz;
  state3:blink[0]<=clk2hz;
  default:blink[2:0]<='bx;
endcase
end
/*Warning (10240): Verilog HDL Always Construct warning at clock.v(166):
inferring latch(es) for variable "blink", which holds its previous value in one
  or more paths through the always construct*/
这个warning怎么解决啊!
哪位大侠帮看下啊
谢啦2
您需要登录后才可以回帖 登录 | 注册

本版积分规则

0

主题

2

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部