[sv-ac] RE: [sv-cc] Can let declarations use the untyped keyword

From: Korchemny, Dmitry <dmitry.korchemny_at_.....>
Date: Sun Aug 02 2009 - 00:53:18 PDT
Yes, this is correct. But I see no reason why not to allow explicit untyped arguments in let.

Dmitry

From: Bresticker, Shalom
Sent: Sunday, August 02, 2009 10:50 AM
To: Korchemny, Dmitry; sv-ac@server.eda.org
Subject: RE: [sv-cc] Can let declarations use the untyped keyword

My understanding is that the use of 'untyped' allows you to have an untyped argument follow a typed argument, as stated in 16.8.1.

Untyped arguments that appear at the beginning of the argument list do not need the untyped keyword.

Shalom

________________________________
From: Korchemny, Dmitry
Sent: Sunday, August 02, 2009 10:43 AM
To: Bresticker, Shalom; sv-ac@server.eda.org
Subject: RE: [sv-cc] Can let declarations use the untyped keyword
No, this is not intentional. The main point of let was its ability to have untyped arguments, and the clause 11.13 shows may examples. Therefore, there is no reason to disallow writing untyped explicitly. The BNF should be modified, but it is probably too late to do it now.

Dmitry

From: owner-sv-ac@server.eda.org [mailto:owner-sv-ac@server.eda.org] On Behalf Of Bresticker, Shalom
Sent: Sunday, August 02, 2009 10:30 AM
To: sv-ac@server.eda.org
Subject: [sv-ac] FW: [sv-cc] Can let declarations use the untyped keyword



________________________________
From: owner-sv-cc@server.eda.org [mailto:owner-sv-cc@server.eda.org] On Behalf Of Stuart Sutherland
Sent: Sunday, August 02, 2009 9:39 AM
To: sv-cc@server.eda.org
Subject: [sv-cc] Can let declarations use the untyped keyword
The BNF in P1800/D9 says that a let declaration formal argument is:

let_formal_type ::=
   data_type_or_implicit

I understand this to mean that the "untyped" keyword that was added for sequences, properties and checkers cannot be used with let declarations.  Was this intentional, or am I reading the BNF incorrectly?  If intentional, why?

Stu
~~~~~~~~~~~~~~
Stuart Sutherland
stuart@sutherland-hdl.com
(503) 692-0898


--
This message has been scanned for viruses and
dangerous content by MailScanner<http://www.mailscanner.info/>, 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<http://www.mailscanner.info/>, 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 Sun Aug 2 00:58:52 2009

This archive was generated by hypermail 2.1.8 : Sun Aug 02 2009 - 00:59:02 PDT