Open goekce opened 5 months ago
Probably related:
Test case
module test;
localparam int unsigned
DigitCount = 2 ** DigitCountLg2,
SegmentCount = 7,
MaxReprNumber = 10 ** DigitCount - 1,
BcdCount = $clog2(10);
endmodule
Actual output
module test;
localparam int unsigned
DigitCount = 2 ** DigitCountLg2,
SegmentCount = 7,
MaxReprNumber = 10 ** DigitCount - 1,
BcdCount = $clog2(
10
);
endmodule
Expected or suggested output
module test;
localparam int unsigned
DigitCount = 2 ** DigitCountLg2,
SegmentCount = 7,
MaxReprNumber = 10 ** DigitCount - 1,
BcdCount = $clog2(10);
endmodule
Test case
version: 3624 d256d779
Actual output
Same. If the long line is removed, the line is formatted to a single line though.
Expected or suggested output
I could not find any reference to the formatting of this style of many parameters in a single
localparam
statement in the style guides I searched for.I can create a PR if a fix is needed.