Support && inside sensitivity list
always @((vco_out[i_l0_ph] && is_fast_pll) or posedge areset_ipd or negedge ena_ipd or stop_vco)
%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)
#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.