mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-02 10:27:21 +02:00
- Trace comments cover module items, decls, and stmts - Added pseudo-lexer to Alex parser for monadic Position production - Added Position to every DeclToken - Removed Comment PackageItem - Added CommentStmt and CommentDecl - Fixed traversal skipping outer MIAttr ModuleItems - Generally cleaned up Parser modules
22 lines
321 B
Systemverilog
22 lines
321 B
Systemverilog
module top;
|
|
integer x = 0;
|
|
initial begin
|
|
x++;
|
|
$display(x);
|
|
end
|
|
initial begin
|
|
++x;
|
|
$display(x);
|
|
end
|
|
initial begin
|
|
repeat (0);
|
|
x++;
|
|
$display(x);
|
|
end
|
|
initial begin
|
|
repeat (0);
|
|
++x;
|
|
$display(x);
|
|
end
|
|
endmodule
|