yosys/tests/asicworld/code_verilog_tutorial_comme...

26 lines
364 B
Verilog
Raw Permalink Normal View History

2013-01-05 04:13:26 -06:00
/* This is a
Multi line comment
example */
module addbit (
a,
b,
ci,
sum,
co);
// Input Ports Single line comment
input a;
input b;
input ci;
// Output ports
output sum;
output co;
// Data Types
wire a;
wire b;
wire ci;
wire sum;
wire co;
endmodule