bitand.v

来自「多个Verilog和vhdl程序例子」· Verilog 代码 · 共 12 行

V
12
字号
module bitand(out, a, b);
output [3:0] out;
input [3:0] a, b;
/* this wire declaration is not required, 
because out is an output in the port list */

wire [3:0] out;
assign out = a & b;

endmodule

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?