RE: [sv-bc] RE: [sv-ec] Scope specific keyword

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Fri Jul 25 2008 - 03:17:53 PDT
Right.

The LRM says,

'Because these ["instance", etc.] identifiers are not reserved when
using the "1364-2001-noconfig" version_specifier, they may be used as
normal Verilog identifiers within the corresponding
`begin_keywords...`end_ keywords region.' 

From this, you see that for regular keyword versions, "instance", etc.
IS a keyword.

Shalom

> -----Original Message-----
> From: owner-sv-ec@server.eda.org 
> [mailto:owner-sv-ec@server.eda.org] On Behalf Of Surya Pratik Saha
> Sent: Friday, July 25, 2008 1:13 PM
> To: Brad Pierce
> Cc: sv-ec@server.eda.org; sv-bc@server.eda.org
> Subject: Re: [sv-bc] RE: [sv-ec] Scope specific keyword
> 
> Hi Brad,
> your mentioned text is defined under `begin_keyword, but 
> normally an 'instance' should be considered as keywrod, right?
> 
> Regards
> Surya
> 
> 
> 
> -------- Original Message  --------
> Subject: [sv-bc] RE: [sv-ec] Scope specific keyword
> From: Brad Pierce <Brad.Pierce@synopsys.com>
> To: sv-ec@eda.org, sv-bc@eda.org
> Date: Friday, July 25, 2008 3:10:54 PM
> > Surya,
> >
> > See 19.11 of IEEE Std 1364-2005, specifically, the 
> "1364-2001-noconfig"
> > version specifier.
> >
> > -- Brad
> >
> >
> > -----Original Message-----
> > From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of 
> > Surya Pratik Saha
> > Sent: Friday, July 25, 2008 5:16 PM
> > To: sv-ec@eda.org; sv-bc@eda.org
> > Subject: [sv-ec] Scope specific keyword
> >
> > Hi,
> > Does SV or Verilog LRM define some keywords as scope 
> specific? I did 
> > not
> >
> > see any. But some of the standard simulators considers 
> 'instance' as 
> > keyword inside 'config' scope only. In other places, you 
> can use it as 
> > identifier. Though Verilog 1364-2005 LRM defines 'instance' in the 
> > keyword list. So following case should fail:
> >
> > module top;
> >     integer instance;
> > endmodule
> >
> > Please let me know it is the simulator bug or am I missing anything.
> >
> >   
> 
> 
> 
> 
> --
> 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 Fri, 25 Jul 2008 13:17:53 +0300

This archive was generated by hypermail 2.1.8 : Fri Jul 25 2008 - 03:19:13 PDT