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

Wrong indentation after SV streaming statement #1516

Open
veripoolbot opened this issue Sep 24, 2019 · 1 comment
Open

Wrong indentation after SV streaming statement #1516

veripoolbot opened this issue Sep 24, 2019 · 1 comment
Labels

Comments

@veripoolbot
Copy link
Collaborator

@veripoolbot veripoolbot commented Sep 24, 2019


Author Name: Enze Chi
Original Redmine Issue: 1516 from https://www.veripool.org


I just found wrong indentation after SV streaming state

     module test (input logic clk,
                  input logic a,
                  output logic c,
                  output byte  d[4]);
     
         always_ff @(posedge clk) begin
             if (a == 1'b1) begin
                 data <= {<<byte{$urandom()}};
             c <= data[1] > 8'h0f;
         end
         end
     endmodule // test

The expected indentation should be:

module test (input logic clk,
              input logic a,
              output logic c,
              output byte  d[4]);

     always_ff @(posedge clk) begin
         if (a == 1'b1) begin
             data <= {<<byte{$urandom()}};
             c <= data[1] > 8'h0f;
         end
     end
endmodule // test


@veripoolbot
Copy link
Collaborator Author

@veripoolbot veripoolbot commented Dec 21, 2019


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2019-12-21T15:15:26Z


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.