[sv-bc] iff as operator?


Subject: [sv-bc] iff as operator?
From: Steven Sharp (sharp@cadence.com)
Date: Thu Aug 14 2003 - 15:00:47 PDT


It appears that iff can only be applied to an expression or an edge
expression, not to a compound event. So, for example, you couldn't
write

        always @((posedge clk1 or posedge clk2) iff enable)
        
to have the iff condition apply to both events. You would have to
write this as

        always @(posedge clk1 iff enable or posedge clk2 iff enable)
        
Is this the intent?

Steven Sharp
sharp@cadence.com



This archive was generated by hypermail 2b28 : Thu Aug 14 2003 - 15:02:15 PDT