RE: [sv-bc] Is space allowed in between .*

From: Bresticker, Shalom <shalom.bresticker@intel.com>
Date: Mon Mar 07 2011 - 02:07:38 PST

I can present arguments both for and against.

On the one hand, " .* " is short for many " . name ".
" . name " is composed of a fixed-character (the dot) and a non-terminal, the "name".
In all (at least, almost all) such cases, white space is allowed.
In general, the LRM is more careful about specifying where white space is not allowed than where it is allowed.
One could draw a conclusion from that, that in general, white space is allowed unless otherwise stated.

On the other hand, " .* " appears in the BNF without space between the two characters, and in (almost) all those cases, the meaning is that space is not allowed between them.

Shalom

> -----Original Message-----
> From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of
> Surya Pratik Saha
> Sent: Monday, March 07, 2011 11:49 AM
> To: sv-bc@eda.org
> Subject: [sv-bc] Is space allowed in between .*
>
> Hi,
> For the following design:
> module top;
> bot b(. *);
> endmodule
> module bot;
> endmodule
>
> Some standard tools pass the case. Please note the blanks between '.'
> and '*'. Is it allowed?
>
> --
> Regards
> Surya
>
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, 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 Mon Mar 7 02:09:01 2011

This archive was generated by hypermail 2.1.8 : Mon Mar 07 2011 - 02:09:06 PST