[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 #353

AUTOARG and SV typedef as port

Added by Stefan Wallentowitz about 1 year ago. Updated about 1 year ago.

Status:Closed Start date:05/17/2011
Priority:Normal Due date:
Assignee:Wilson Snyder % Done:

0%

Category:Autos
Target version:-

Description

Hi,

I run in trouble when trying to use the following typedef as port:

typedef struct packed {
    flit_type_t ftype;
    bit[31:0] content;
} flit_t;

And in the module:

module mymodule(/*AUTOARG*/);

   input flit_t flit;

When applying autos I get

module mymodule(/*AUTOARG*/
   flit_t, flit
   );
   input flit_t flit;

It seems that parsing does not work properly. I use the latest release.

Thanks and regards, Stefan

History

Updated by Wilson Snyder about 1 year ago

  • Status changed from New to Closed

You need to set verilog-typedef-regexp. Please see the FAQ for the different ways to do this.

Also available in: Atom