Verilog
zhushouxi1988
记录学习经过
展开
-
localparam
关于localparam,这个关键字书上很少会讲到。但是大公司的代码里经常会看到。这里特此,给出解释。 define: 可以跨模块的定义; parameter: 本module内有效的定义,可用于参数传递; localparam: 本module内有效的定义,不可用于参数传递;localparamcannot be used within the module port paramet转载 2012-08-24 11:14:37 · 724 阅读 · 0 评论 -
Verilog Tip
Port declarations may be written differently when using Verilog 2001 compared to Verilog 95 Verilog 95 module top (...q); : output q; reg q; Verilog 2001 module top (...q); :原创 2012-11-19 08:44:39 · 160 阅读 · 0 评论