mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 19:05:52 +00:00
initial import
This commit is contained in:
commit
7764d0ba1d
481 changed files with 54634 additions and 0 deletions
25
tests/asicworld/code_verilog_tutorial_comment.v
Normal file
25
tests/asicworld/code_verilog_tutorial_comment.v
Normal file
|
@ -0,0 +1,25 @@
|
|||
/* 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
|
Loading…
Add table
Add a link
Reference in a new issue