It would have no effect. It would be like writing always @(b) b = b + 1; That in itself would not be very useful. But one could write assign b += c ; which would be like always @(b,c) b = b + c ; which would trigger if c changed. Many years ago, we used to sometimes write latches as assign out = enable ? in : out ; But I don't think it is useful enough to recommend allowing it. Shalom > -----Original Message----- > From: owner-sv-bc@server.eda.org > [mailto:owner-sv-bc@server.eda.org] On Behalf Of Rich, Dave > Sent: Wednesday, October 10, 2007 9:45 AM > To: Surya Pratik Saha; sv-bc@server.eda.org; sv-ec@server.eda.org > Subject: RE: [sv-bc] Assignment operator in continuous assignment > > This is specifically disallowed. What would it mean in terms > of sensitivity to have the same variable on both sides of '='? > > Dave > > > > -----Original Message----- > > From: owner-sv-bc@server.eda.org [mailto:owner-sv-bc@server.eda.org] > On > > Behalf Of Surya Pratik Saha > > Sent: Wednesday, October 10, 2007 12:17 AM > > To: sv-bc@server.eda.org; sv-ec@server.eda.org > > Subject: [sv-bc] Assignment operator in continuous assignment > > > > Hi, > > In SV 1800, continuous assignment syntax allows only '=' assignment > > operator. Why '+=', '-=' types of assignment operator not > allowed. Why > > someone can't write: > > > > assign b += 1; > > > > Which is just similar to > > assign b = b + 1; > > > > Is there any specific reason or is it case of BNF overlook? > > > > -- > > Regards > > Surya > > > > > > > > > > > > > > -- > > This message has been scanned for viruses and dangerous content by > > MailScanner, and is believed to be clean. > > > -- > 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 Oct 10 01:02:49 2007
This archive was generated by hypermail 2.1.8 : Wed Oct 10 2007 - 01:03:20 PDT