Sorry Shalom. I misinterpreted your statement. So you are saying for this case, 'p' to be used to calculate the width of the casted expression. Am I right? Regards Surya -------- Original Message -------- Subject: Re:[sv-bc] Re: [sv-ec] Confusion in casting expression From: Bresticker, Shalom <shalom.bresticker@intel.com> To: Surya Pratik Saha <spsaha@cal.interrasystems.com> Cc: sv-ec@eda.org, sv-bc@eda.org Date: Wednesday, March 12, 2008 8:47:18 PM > Why should it be wrong? > > Shalom > > >> -----Original Message----- >> From: owner-sv-bc@server.eda.org >> [mailto:owner-sv-bc@server.eda.org] On Behalf Of Surya Pratik Saha >> Sent: Wednesday, March 12, 2008 5:14 PM >> To: Bresticker, Shalom >> Cc: sv-ec@server.eda.org; sv-bc@server.eda.org >> Subject: [sv-bc] Re: [sv-ec] Confusion in casting expression >> >> Hi Shalom, >> Then the e.g. below: >> >> module top; >> parameter p = 1; >> wire x = p'(1); >> endmodule >> >> Is wrong? But constant_primary can contain a simple parameter >> identifier too. So where it is defined in LRM what are the >> items inside constant_primary valid to be used as casting type? >> >> Regards >> Surya >> >> >> >> -------- Original Message -------- >> Subject: Re:[sv-ec] Confusion in casting expression >> From: Bresticker, Shalom <shalom.bresticker@intel.com> >> To: Surya Pratik Saha <spsaha@cal.interrasystems.com>, >> sv-ec@eda.org, sv-bc@eda.org >> Date: Wednesday, March 12, 2008 8:24:36 PM >> >>> Hi, >>> >>> Please check, simple_type has ps_parameter_identifier, also the >>> constant_primary contains ps_parameter_identifier. This >>> >> makes BNF >> >>> conflicting. >>> [SB] Not conflicting, just containing a redundancy. >>> >>> Also what is the meaning of ps_parameter_identifier for casting >>> expression. Is it just used to calculate the width or >>> >> something else? >> >>> [SB] I think if it is a type parameter, it can be used for type >>> casting. >>> >>> Shalom >>> >>> >>> >> --------------------------------------------------------------------- >> >>> 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. >> >> >> > --------------------------------------------------------------------- > 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 Wed Mar 12 08:25:39 2008
This archive was generated by hypermail 2.1.8 : Wed Mar 12 2008 - 08:29:14 PDT