[sv-bc] leaving off commas at end of ordered connection list

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Sat Apr 01 2006 - 22:36:38 PST
Really minor clarification. I filed this as Mantis 1399.

Shalom

-----Original Message-----
From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of
Bresticker, Shalom
Sent: Tuesday, January 24, 2006 12:08 PM
To: Rich, Dave; sv-ec@eda.org
Subject: RE: [sv-ec] foreach iterates over unpacked arrays

Thanks.

With regards to port connections, 1364 says in 12.1.2 ("Module
instantiations", not in 12.3, "Port connections", as you might have
expected),

"A connection can be a simple reference to a variable or a net
identifier, an expression, or a blank. An
expression can be used for supplying a value to a module input port. A
blank port connection shall represent
the situation where the port is not to be connected."

I don't see any text saying that the last commas can be left off.

In fact, the example preceding 12.2,
"// ff3(.q(out3),.clear(in1),,,); is illegal",
implies that you can't end an ordered port connection list with a comma,
but I don't see normative text saying that, nor do I see it implied from
the BNF.

Another hole, perhaps.

Shalom


> I am rewriting the proposal, trying to come up with a
> description for
> fact that you don't need commas (,) at the end of the list to
> indicate
> omitted variables, but I don't see that wording anywhere else.
> Is the
> BNF sufficient? I would have thought it would have been there
> for lists
> of port connections, or lists of arguments for tasks,
> functions.
Received on Sat Apr 1 22:39:00 2006

This archive was generated by hypermail 2.1.8 : Sat Apr 01 2006 - 22:39:08 PST