Sign in
foss-fpga-tools
/
third_party
/
yosys
/
8b68a939f451731cc82fd03b1048d9aab471f47b
/
.
/
tests
/
asicworld
/
code_verilog_tutorial_comment.v
blob: 1cc0eb424d0cf99fcd81eef19ef1f2a3a9dd7f18 [
file
] [
log
] [
blame
]
/* 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