Im Tech Ver I Log Introduction
Im Tech Ver I Log Introduction
module module-name
List of ports; Variables, wires, and
Declarations module parameters
... are declared.
Functional specification of module
...
endmodule
Keyword
endmodule
Verilog Module
assign p = a ^ b;
assign g = a & b;
assign s = p ^ cin;
assign cout = g | (p & cin);
endmodule
Numbers
• Format: N'Bvalue
N = number of bits, B = base