It would be difficult to write the restriction that you suggest. We cannot say that the reg data type is not allowed on a net. That type is allowed on a net, as long as you use a different name for it, such as logic or a typedef defined to be the same type as reg. The current restriction is exactly what it says: the keyword reg cannot immediately follow a net type keyword. Since the initial concern was about a lexical confusion of "tri reg" and "trireg", the restriction is a purely lexical one also. Extending it to other net types to avoid the visual confusion was only done because it was so easy to specify. It was not considered important enough to be worth the complex wording that your suggestion would require, with the potential for even more confusion. Note that if we had left the restriction as just disallowing "tri reg", it probably would have been less confusing, as the reason for it would have been more obvious. Broadening the restriction makes it less clear why the restriction exists, and therefore exactly what the restriction is. Steven Sharp sharp@cadence.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Tue Dec 18 13:15:24 2007
This archive was generated by hypermail 2.1.8 : Tue Dec 18 2007 - 13:15:55 PST