[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
  SVN::S4
  SystemPerl
  Voneline
  WFH
General Info
  Papers

Issue #404

space in always @(* ) causes internal error

Added by Jeremy Bennett over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:10/25/2011
Priority:Normal Due date:
Assignee:Wilson Snyder % Done:

0%

Category:Parser
Target version:-

Description

Verilator fails with a flex scanner internal error if there is a space before the closing parenthesis in always (*). Attached example program @always_at.v.

// reproducer for the always @(*) bug.
// invocation: verilator -cc  always_at.v
module always_at(input wire foo, output wire bar);
  always @(* )
    bar = foo;
endmodule // always_at

Output from running Verilator

$ verilator -cc always_at.v 
%Error: always_at.v:9: EOF in (*
fatal flex scanner internal error--end of buffer missed
%Error: Command Failed _instdir_/verilator/verilator_bin -cc always_at.v

always_at.v (185 Bytes) Jeremy Bennett, 10/25/2011 06:55 pm

History

Updated by Wilson Snyder over 1 year ago

  • Status changed from New to Resolved
  • Assignee set to Wilson Snyder

You were beaten in reporting this by a few hours, see bug403.

Fixed in git towards 3.824.

Updated by Wilson Snyder over 1 year ago

  • Status changed from Resolved to Closed

In 3.824, just released.

Also available in: Atom