verilog-mode icon indicating copy to clipboard operation
verilog-mode copied to clipboard

randsequence misindented

Open veripoolbot opened this issue 10 years ago • 1 comments


Author Name: Wilson Snyder (@wsnyder) Original Redmine Issue: 838 from https://www.veripool.org


Yanming Gao emails:

module a;
    randsequence(TOP)
       TOP:
          A
          B
          C
          D;
       A:
          seq_a;
       B:
          seq_b;
       C: seq_c;
       D: seq_d;

    endsequence

    randsequence(TOP)
       TOP:
          rand join
          A
          B
          C
          D;
      A:
         seq_a;
      B:
         seq_b;
      C: seq_c;
      D: seq_d;

endsequence

endmodule

After hit ctrl-alt-\ to indent, I got following result

module a;

    randsequence(TOP)
       TOP:
          A
          B
             C
                D;
       A:
          seq_a;
       B:
          seq_b;
       C: seq_c;
       D: seq_d;

    endsequence

    randsequence(TOP)
       TOP:
          rand join
A
    B
       C
          D;
A:
    seq_a;
B:
    seq_b;
C: seq_c;
D: seq_d;

endsequence

endmodule

The indent is very ugly for randsequence, especailly after "rand join".

Rhanks and best regards.

Yanming Gao

veripoolbot avatar Nov 06 '14 00:11 veripoolbot


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


Still a problem, maybe someone would like to contribute a patch?

veripoolbot avatar Nov 19 '17 13:11 veripoolbot