Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port list is not aligned properly when the first port declaration is not start from a new line #1167

Open
veripoolbot opened this issue May 26, 2017 · 1 comment
Labels

Comments

@veripoolbot
Copy link
Collaborator

@veripoolbot veripoolbot commented May 26, 2017


Author Name: Enzo Chi
Original Redmine Issue: 1167 from https://www.veripool.org


Found a issue of align the port list: (verilog-auto-lineup 'all)

When the first port declaration right after "(" as example below, the port name is not aligned correctly.

Port "sel" and the rest are not aligned.

module indent_case(input bit [1:0] sel,
                    input byte  a,
                    input byte  b,
                    input byte  c,
                    input byte  d,
                    output byte dout
                    );

Expect to be

module indent_case(input bit [1:0] sel,
                    input byte      a,
                    input byte      b,
                    input byte      c,
                    input byte      d,
                    output byte     dout
                    );

If "sel" declaration start from a new line, it works

module indent_case(
                    input bit [1:0] sel,
                    input byte      a,
                    input byte      b,
                    input byte      c,
                    input byte      d,
                    output byte     dout
                    );

@veripoolbot
Copy link
Collaborator Author

@veripoolbot veripoolbot commented Nov 19, 2017


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2017-11-19T13:38:15Z


AFAIK still a problem, perhaps someone would like to contribute a patch?

@veripoolbot veripoolbot added the indents label Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.