Hi Surya, Yes, there is indeed an inconsistency in the LRM, I think that instead of "expression" "sequence expression" should be stated. But the BNF is correct. Dmitry ________________________________ From: Surya Pratik Saha [mailto:spsaha@cal.interrasystems.com] Sent: Thursday, January 31, 2008 8:00 AM To: Korchemny, Dmitry Cc: Sarani Roy; sv-ec@eda.org; sv-ac@eda.org Subject: Re: [sv-ec] RE: [sv-ac] Seuence Instance passed as an argument to sequence Hi, As per SV LRM 1800-2005, (section 17.6 Declaring sequences): An actual argument can replace any of the following: Identifier Expression Event control expression Upper delay range or repetition range if the actual argument is $ A sequence instance is not part of normal expression. So as per LRM the case is illegal. Regards Surya -------- Original Message -------- Subject: [sv-ec] RE: [sv-ac] Seuence Instance passed as an argument to sequence From: Korchemny, Dmitry <dmitry.korchemny@intel.com> <mailto:dmitry.korchemny@intel.com> To: Sarani Roy <sarani@cal.interrasystems.com> <mailto:sarani@cal.interrasystems.com> , sv-ec@eda.org, sv-ac@eda.org Date: Wednesday, January 30, 2008 6:22:38 PM Yes, this is correct. Dmitry. -----Original Message----- From: owner-sv-ac@server.eda.org [mailto:owner-sv-ac@server.eda.org] On Behalf Of Sarani Roy Sent: Wednesday, January 30, 2008 2:21 PM To: sv-ec@server.eda.org; sv-ac@server.eda.org Subject: [sv-ac] Seuence Instance passed as an argument to sequence Hi, Is this a valid scenario: sequence s1; @(posedge clk) irdy ##1 !trdy ##1 !devsel; endsequence sequence seq (s,trans,grant,n); @(posedge clk) s ##1 trans ##1 grant[*n]; endsequence property p1; @(posedge clk) reset |=> seq(s1,next_state==3'b111,stop,4) ##1 frame[*2]; endproperty assert property(p1); Most of the standard tools are passing. Thanks, Sarani --------------------------------------------------------------------- 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, and is believed to be clean.Received on Thu Jan 31 04:51:57 2008
This archive was generated by hypermail 2.1.8 : Thu Jan 31 2008 - 04:52:32 PST