I'd think that for real operands, the 'real' power of the 'inside' operator would be in 'case inside' statements, where each case item can then be a range instead of just a list of values. Shalom > -----Original Message----- > From: Geoffrey.Coram [mailto:geoffrey.coram@analog.com] > Sent: Monday, September 10, 2007 7:10 PM > To: Bresticker, Shalom > Cc: verilog-AMS LRM Committee > Subject: Re: FW: [sv-bc] 'inside' on real operands > > I've never seen a need for this for compact models in Verilog-A. > > I could imagine a behavioral model that measured an analog > quantity and wanted to know if it was in a range around say > 1.8V or around 3.3V or some other set of disjoint ranges, but > I'd expect the model to do different things for each range, > so "inside" wouldn't be the right operator. While "inside" > could be useful, it's not up there in the top 10. > > -Geoffrey > > > > Bresticker, Shalom wrote: > > Here's a question for you. > > > > I'm attaching a description of the 'inside' operator. > > > > Thanks, > > > > Shalom > > > > > > -----Original Message----- > > From: Stuart Sutherland [mailto:stuart@sutherland-hdl.com] > > Sent: Monday, September 10, 2007 6:48 PM > > To: 'Jonathan Bromley'; 'Geoffrey.Coram'; Alsop, Thomas R > > Cc: Bresticker, Shalom; 'sv-bc' > > Subject: RE: [sv-bc] 'inside' on real operands > > > > > > Would using reals with the inside operator be useful for > Verilog-AMS? > > If not, I agree with prohibiting reals as operands of > inside. If the > > Verilog-AMS committee sees this as useful, then we should > define the > > behavior and any caveats. > > > > Stu > --------------------------------------------------------------------- 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 Mon Sep 10 09:42:18 2007
This archive was generated by hypermail 2.1.8 : Mon Sep 10 2007 - 09:42:22 PDT