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

Ignore constants in sensitivity lists

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

Status:Closed Start date:11/02/2011
Priority:Normal Due date:
Assignee:Wilson Snyder % Done:

0%

Category:Unsupported
Target version:-

Description

A number of commercial tools allow constants in sensitivity lists, even though this is not permitted by the standard. Such constants are just ignored. For example:

   always @(1'b0, clk) begin
      $write("*-* All Finished *-*\n");
      $finish;
   end

It would be useful for Verilator to permit this (perhaps with a warning, since it is non-standard).

t_const_sensitivity.v - Test case (730 Bytes) Jeremy Bennett, 11/02/2011 06:16 pm

t_const_sensitivity.pl - PERL driver for the test case (463 Bytes) Jeremy Bennett, 11/02/2011 06:16 pm

History

Updated by Wilson Snyder over 1 year ago

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

Simple enough, fixed in git towards 3.825. No warning, since it seems silent in other tools and don't think it's likely hide bugs.

Updated by Wilson Snyder over 1 year ago

  • Status changed from Resolved to Closed

In 3.830.

Also available in: Atom