>I don't think enumeration encoding values should be evaluated in a >self-determined context. They should be evaluated in the context >of a cast to the base type of the enum. If that requires adjusting >other text, so be it. Yes, I agree that the following declaration should be legal. // Error in the bronze and gold member declarations enum bit [3:0] {bronze=5'h13, silver, gold=3'h5} medal4; -- Brad ________________________________________ From: owner-sv-bc@eda.org [owner-sv-bc@eda.org] On Behalf Of Steven Sharp [sharp@cadence.com] Sent: Thursday, April 30, 2009 7:21 PM To: sv-bc@eda.org; matthew.r.maidment@intel.com Subject: Re: [sv-bc] email ballot: Due 8am PDT Friday, May 1 Summary: Abstaining on 2513. No on 2477 and 2670 Yes on rest >SVDB 1492 _X_Yes ___No >http://www.eda.org/svdb/view.php?id=1492 > >SVDB 2477 ___Yes _X_No >http://www.eda.org/svdb/view.php?id=2477 I don't think enumeration encoding values should be evaluated in a self-determined context. They should be evaluated in the context of a cast to the base type of the enum. If that requires adjusting other text, so be it. >SVDB 2513 ___Yes ___No >http://www.eda.org/svdb/view.php?id=2513 Abstaining. Have not looked at it closely enough. >SVDB 2542 _X_Yes ___No >http://www.eda.org/svdb/view.php?id=2542 > >SVDB 2550 _X_Yes ___No >http://www.eda.org/svdb/view.php?id=2550 > >SVDB 2634 _X_Yes ___No >http://www.eda.org/svdb/view.php?id=2634 > >SVDB 2670 ___Yes _X_No >http://www.eda.org/svdb/view.php?id=2670 Gord has a valid point, that this implies that it is the only package import list of the module. >SVDB 2672 _X_Yes ___No >http://www.eda.org/svdb/view.php?id=2672 Though my ballot review draft doesn't show these extra quotes... >SVDB 2675 _X_Yes ___No >http://www.eda.org/svdb/view.php?id=2675 > >SVDB 2676 _X_Yes ___No >http://www.eda.org/svdb/view.php?id=2676 > >SVDB 2683 _X_Yes ___No >http://www.eda.org/svdb/view.php?id=2683 > >SVDB 2695 _X_Yes ___No >http://www.eda.org/svdb/view.php?id=2695 > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. > > Steven Sharp sharp@cadence.com -- 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.Received on Thu Apr 30 22:36:58 2009
This archive was generated by hypermail 2.1.8 : Thu Apr 30 2009 - 22:37:10 PDT