The LRM says that en is evaluated when clk changes. There is no implied sampling of en, so you would get a race if en changes at the same timepoint. Of course if you use a construct that provides a guaranteed ordering within the same timestep, like a clocking block, then there would be no race. From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of Bresticker, Shalom Sent: Monday, August 11, 2014 4:05 AM To: sv-bc@eda.org Subject: [sv-bc] iff timing In the expression '@(exp1 iff exp2)', is there a required timing relation of the sampling of exp2 relative to exp1? For example, in '@(clk iff en)', what happens if en changes in the same timepoint as clk? Thanks, Shalom Shalom Bresticker Communications & Storage Infrastructure Group Design Automation Intel Jerusalem, Israel +972 2 589 6582 (office) +972 54 721 1033 (cell) http://www.linkedin.com/in/shalombresticker The devil is in the details. --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- This message has been scanned for viruses and dangerous content by MailScanner<http://www.mailscanner.info/>, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Mon Aug 11 08:58:25 2014
This archive was generated by hypermail 2.1.8 : Mon Aug 11 2014 - 08:58:32 PDT