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

Support && inside sensitivity list

Added by Alex Solomatnikov about 1 year ago. Updated about 1 year ago.

Status:FeatureStart date:04/03/2012
Priority:LowDue date:
Assignee:-% Done:

0%

Category:Unsupported
Target version:-

Description

Source code:

    always @((vco_out[i_l0_ph] && is_fast_pll) or posedge areset_ipd or negedge ena_ipd or stop_vco)

Error:

%Error: ...: syntax error, unexpected &&, expecting ')'

However, the following code does compile:

    wire temp = vco_out[i_l0_ph] && is_fast_pll;
    always @(temp or posedge areset_ipd or negedge ena_ipd or stop_vco)

History

#1 Updated by Wilson Snyder about 1 year ago

  • Subject changed from syntax error on && inside sensitivity list to Support && inside sensitivity list
  • Category set to Unsupported
  • Status changed from New to Feature

That's not synthesizable and it's also a very rare construct, so as you already noted it's low on the list.

Also available in: Atom PDF