关于报错 cannot test for both positive and negative edges of variable “xxxx”
always @(posedge in or negedge in)begin
if(!in)
。。。。。;
else。。。。。;
end
如上代码便会报错
cannot test for both positive and negative edges of variable “in”
可是我又要实现 上面那样的功能,要怎么写呢 ?
谢谢!
页:
[1]