Ansi
A1
initial
begin
areg = 0;
end
KR
A2
initial begin
areg = 0;
end
GNU
A3
initial
begin
areg = 0;
end
None
Spaces
s
initial
begin
****$display("a=%h*b=%d",
*************rval,
*************rval);
end
Tab
t
initial
begin
--->$display("a=%h*b=%d",
--->*********rval,
--->*********rval);
end
Force tab
T
initial
begin
--->$display("a=%h*b=%d",
--->--->--->*rval,
--->--->--->*rval);
end
Range : 2-20
*Attach to previous short
//indent_number4
initial
begin
areg = 0;
end
//indent_number5
initial
begin
areg = 0;
end
Yes
B
initial
begin
areg = 0;
end
No
initial
begin
areg = 0;
end
Yes
G
initial
begin
areg = 0;
end
No
initial
begin
areg = 0;
end
Range : 0-20
m
//min-conditional-indent0
if (a > b
|| c > d)
out1 <= int1;
//min-conditional-indent6
if (a > b
|| c > d)
out1 <= int1;
Range : 40-120
M
fooFunction(barArg1,
barArg2,
barArg3);
becomes (with larger value)
fooFunction(barArg1,
barArg2,
barArg3);
Yes
E
initial
begin
****areg*=*0;
****
****areg*=*1;
end
No
initial
begin
****areg*=*0;
****areg*=*1;
end
Yes
w
`define aa \
a + b
No
`define aa \
a + b
Yes
b
// ANSI
initial
begin
areg = 0;
end
No
Yes
a
// KR
initial begin
areg = 0;
end
No
Yes
o
initial
begin
areg = 0;areg = 1;
end
//remains unchanged.
No
initial
begin
areg = 0;
areg = 1;
end
Yes
O
initial
begin
areg = 0;areg = 1;
end
//remains unchanged.
No
initial
begin
areg = 0;
areg = 1;
end
Yes
p
if (a > b)
out1 <= int1;
No
if (a>b)
out1<=int1;
Yes
L
if ( isFoo( a, b ) )
bar( a, b );
No
if (isFoo(a, b))
bar(a, b);
Yes
l
if (isFoo(a, b))
begin bar(a, b);
end
No
if (isFoo(a, b))
bar(a, b);
Yes
P
if ( isFoo( a, b ) )
begin bar( a, b );
end
No
if (isFoo(a, b))
bar(a, b);
Yes
c
initial
begin
****areg****=*0;
end
No
initial
begin
****areg--->=*0;
end
Yes
f
initial
begin
areg = 0;
if (a > b)
begin
areg = 1;
end
areg = 2;
end
No
initial
begin
areg = 0;
if (a > b)
begin
areg = 1;
end
areg = 2;
end
Yes
F
initial
begin
areg = 0;
if (a > b)
begin
areg = 1;
end
else if (a < b)
begin
areg = 1;
end
areg = 2;
end
No
initial
begin
areg = 0;
if (a > b)
begin
areg = 1;
end
else if (a < b)
begin
areg = 1;
end
areg = 2;
end
Yes
e
initial
begin
if (a > b)
begin
areg = 1;
end
else
if (a < b)
begin
areg = 1;
end
end
No
initial
begin
if (a > b)
begin
areg = 1;
end
else if (a < b)
begin
areg = 1;
end
end