1.两句if语句,一个没有elsif,问有没有区别2.latch与flip-flop的区别大家说说!
1.两句if语句,一个没有elsif,问有没有区别2.latch与flip-flop的区别大家说说! 1.当然有区别<br>2电平触发和边沿触发 如果if语句没有else的话就会综合出锁存器。 当然有区别 原帖由 <i>heguo1983@hot</i> 于 2007-8-7 13:49 发表 <a href="http://www.edacn.net/bbs/redirect.php?goto=findpost&pid=812261&ptid=95939" target="_blank"><img src="http://www.edacn.net/bbs/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open(this.src);}" onmousewheel="return imgzoom(this);" alt="" /></a><br /><br>
1.当然有区别<br /><br>
2电平触发和边沿触发 <br /> 没注意过诶!学习了,呵呵! 就是就是 没有else if 是会多个锁存器 Verilog中<br>
if(cond1)<br>
if(cond2)<br>
和<br>
if(cond1)<br>
else if(cond2)<br>
这就是为何会综合出锁存器的原因吧。 点评触发。和边沿触发 两个 if连用可以么?
页:
[1]
2