Project

General

Profile

[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  IPC::Locker
  Parallel::Forker
  Voneline
General Info
  Papers

Possible to control indentation of inline comments for i/o declarations?

Added by Shareef Jalloq 7 months ago

Hi,

something that has always bugged me is that when you line up I/O declarations using C-c C-i, any comments following the declarations are modified. I tend to like to line up all the comments so they're easier to read but running the indent function causes them all to be move 1 space after the semi-colon.

Any pointers as to a way to prevent this?

Thanks.

   input wire                 clk;      // A comment
   input wire                 reset_n;  // A N Other comment

gets modified to

   input wire                 clk; // A comment
   input wire                 reset_n; // A N Other comment