Skip to content

Commit 6c23362

Browse files
*** empty log message ***
git-svn-id: file:///verilog-mode-svn/trunk@603 db5bb42b-8904-0410-88e9-aa7026cf2ec3
1 parent 4c086d4 commit 6c23362

File tree

1 file changed

+40
-5
lines changed

1 file changed

+40
-5
lines changed

tests_ok/indent_directives.v

+40-5
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ module foo;
99
);
1010
input sysclk;
1111
`ifdef LABEL_B
12-
input bclko;
12+
input bclko;
1313
`endif
14-
input cmode;
14+
input cmode;
1515
`endif
1616

1717
// instead of:
@@ -26,9 +26,44 @@ module foo;
2626
);
2727
input sysclk;
2828
`ifdef LABEL_B
29-
input bclko;
29+
input bclko;
3030
`endif
31-
input cmode;
32-
`endif
31+
input cmode;
32+
`endif // `ifdef LABEL_A
33+
reg a,b;
34+
`ifdef A
35+
always @(a) begin
36+
b = a; // asfSDfsdfsasa
37+
b = a; // asfSDfsdfsasa
38+
b = a; // asfSDfsdfsasa //
39+
b = a; // asfSDfsdfsasa //
40+
b = a; // asfSDfsdfsasa //
41+
b = a; // asfSDfsdfsasa //
42+
b = a; // asfSDfsdfsasa //
43+
b = a; // asfSDfsdfsasa //
44+
b = a; // asfSDfsdfsasa //
45+
end
46+
`elsif B
47+
always @(b) begin
48+
a = b; // asfSDfsdfsasa
49+
a = b; // asfSDfsdfsasa
50+
a = b; // asfSDfsdfsasa //
51+
a = b; // asfSDfsdfsasa
52+
a = b; // asfSDfsdfsasa
53+
a = b; // asfSDfsdfsasa //
54+
a = b; // asfSDfsdfsasa
55+
a = b; // asfSDfsdfsasa
56+
a = b; // asfSDfsdfsasa //
57+
a = b; // asfSDfsdfsasa
58+
a = b; // asfSDfsdfsasa
59+
a = b; // asfSDfsdfsasa //
60+
end
61+
`else // !`elsif B
62+
always @(a or b) begin
63+
a <= b;
64+
b <= a;
65+
end
66+
`endif // !`elsif B
67+
3368

3469
endmodule // foo

0 commit comments

Comments
 (0)