[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  Schedule::Load
  SVN::S4
  Synopsys-modes
  SystemPerl
  Verilog-Pli
  Voneline
  Vregs
General Info
  Papers

Issue #260

Feature Request: Autoformat/indent Verilog 2001 Module Headers

Added by Joachim Lechner almost 2 years ago. Updated about 1 year ago.

Status:Closed Start date:06/04/2010
Priority:Normal Due date:
Assignee:Michael McNamara % Done:

100%

Category:Indents
Target version:-

Description

It would be nice to have the autoformat/indent feature also for verilog 2001 module headers.

e.g.:

module test_module(
  input wire [1:0]      pin1,
  input wire      pin2,
  input wire [1:0]      pin3,
  input wire        pin4,
  output wire     pin5,
  output wire [10:0] pin6,
  output reg     pin7,
  output reg  [1:0]     pin8
  );

to something like:

module test_module(
  input  wire [1:0]  pin1,
  input  wire        pin2,
  input  wire [1:0]  pin3,
  input  wire        pin4,
  output wire        pin5,
  output wire [10:0] pin6,
  output reg         pin7,
  output reg  [1:0]  pin8
  );

Best regards, Joachim

fr_verilog_2001_module_headers.v (477 Bytes) Joachim Lechner, 06/04/2010 07:32 am

History

Updated by Joachim Lechner almost 2 years ago

Sorry now the example should be readable - see attached file.

Updated by Wilson Snyder over 1 year ago

  • Category set to Indents
  • Assignee set to Michael McNamara

Updated by Wilson Snyder over 1 year ago

  • Subject changed from Freature Request: Autoformat/indent Verilog 2001 Module Headers to Feature Request: Autoformat/indent Verilog 2001 Module Headers

Updated by Michael McNamara about 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Fixed with version 666 (oooh!) declarations are lined up inside modern style port declaration blocks.

Updated by Michael McNamara about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom