应该放always里 原帖由 <i>guoerhui</i> 于 2007-6-28 19:56 发表 <a href="http://www.edacn.net/bbs/redirect.php?goto=findpost&pid=780896&ptid=88242" 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('http://www.edacn.net/bbs/images/common/back.gif');}" onmousewheel="return imgzoom(this);" alt="" /></a><br /><br>
<br>
<br /><br>
Verilog-2000是可以这样写的 <br /><br>
是么?<br>
就算是,最好也别这么写。为什么强调代码风格,就是为了方便阅读,方便维护,方便交接。定义了reg类型的信号统一在always里面赋值。 好東西<br>
直得推薦 Verilog-2000是可以这样写的
页:
1
[2]