ISSUE 271

Number 271
Category errata
Synopsis 26.3.3, 26.6.1 refer to `file directive
State lrmdraft
Class errata-ptf
Arrival-DateJan 21 2003
Originator Karen Pieper <Karen.Pieper@synopsys.com>
Release 2001b: 26.3.3, 26.6.1
Environment
Description
--=====================_1221864958==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed


>From: "Chris Spear" <Spear@synopsys.COM>
>To: <pieper@synopsys.COM>
>Subject: Errata for 1364-2001
>Date: Tue, 21 Jan 2003 15:50:50 -0500
>X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
>Importance: Normal
>
>Karen,
>
>I was looking for `line in the 1364-2001 document and found `file on the
>bottom of page 634 (PDF 647). It does not occur anywhere else in the
>document.
>Also, this may be a trivial issue, but some places refer to `line and
>others have 'line which makes it hard to search.
>
>Thanks!
>
>/***************************************************************
>Chris Spear Verification Specialist
>Synopsys, Inc. Phone 508-263-8114 .. __@
>377 Simarano Drive Fax 508-263-8123 _`\<,_
>Marlboro, MA 01752 USA Cell 508-254-7223 .. (*)/ (*)
>Chris.Spear@Synopsys.com <http://Chris.Spear.net>http://Chris.Spear.net
>***************************************************************/
>


--=====================_1221864958==_.ALT
Content-Type: text/html; charset="us-ascii"




<blockquote type=cite class=cite cite>From: "Chris Spear"
<Spear@synopsys.COM>

To: <pieper@synopsys.COM>

Subject: Errata for 1364-2001

Date: Tue, 21 Jan 2003 15:50:50 -0500

X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)

Importance: Normal


<font size=2>Karen,


I was looking for `line in the 1364-2001 document and found `file on
the

bottom of page 634 (PDF 647).  It does not occur anywhere else in
the document.

Also, this may be a trivial issue, but some places refer to `line
and

others have ‘line which makes it hard to search.



<font size=2>Thanks!


/***************************************************************

Chris
Spear              
Verification Specialist

Synopsys,
Inc.           
Phone 508-263-8114         
..  __@

377 Simarano Drive       
Fax  
508-263-8123           
_`\<,_ 

Marlboro, MA 01752 USA    Cell 
508-254-7223        .. (*)/ (*)

Chris.Spear@Synopsys.com 
<a href="http://Chris.Spear.net">http://Chris.Spear.net

***************************************************************/

 



--=====================_1221864958==_.ALT--

Fix
Proposal:
Since there is no `file compile directives, we should remove the mention of it in the PLI sections.


Resolution:
REPLACE:
Section 26.3.3

The properties vpiLineNo and vpiFile can be affected by the ‘line and ‘file compiler directives. See Section 19 for
more details on these compiler directives.

WITH:
The properties vpiLineNo and vpiFile can be affected by the ‘line compiler directive. See Section 19.7 for
more details on the 'line compiler directive.

REPLACE:
Section 26.6.1 Module:
Note #3:
3—The properties vpiDefLineNo and vpiDefFile can be affected by the `line and `file compiler directives. See Section 19 for
more details on these compiler directives.

WITH:
Note #3:
3—The properties vpiDefLineNo and vpiDefFile can be affected by the `line compiler directive. See Section 19.7 for
more details on the 'line compiler directive.
Audit-Trail

From: Shalom Bresticker <Shalom.Bresticker@motorola.com>
To: etf-bugs@boyd.com
Cc: spear@synsopsys.com
Subject: Re: errata/271: 26.3.3, 26.6.1 refer to `file directive
Date: Wed, 22 Jan 2003 10:18:25 +0200

Chris, thanks.

`file is actually found in 2 places:

1. 26.3.3, para. 2: "The properties vpiLineNo and vpiFile can be affected by the `line and
`file compiler directives."

2. 26.6.1, Note 3: "The properties vpiDefLineNo and vpiDefFile can be affected by the `line
and `file compiler directives."

It looks like the fix is just to delete the reference to `file,
as `line is the directive which can affect the file name.

Note that vpiLineNo and vpiDefLineNo really are different properties.

The reason you did not find both places is exactly because of that difference in the back
tic character.
It's not a trivial issue at all.
It is just one example of a general case which is part of ETF issue #163.

I renamed this issue and classified it as a PTF issue.

> >I was looking for `line in the 1364-2001 document and found `file on the
> >bottom of page 634 (PDF 647). It does not occur anywhere else in the
> >document.
> >Also, this may be a trivial issue, but some places refer to `line and
> >others have 'line which makes it hard to search.

Shalom


From: Shalom Bresticker <Shalom.Bresticker@motorola.com>
To: ptf-bugs@boyd.com
Cc:
Subject: Re: errata/271: 26.3.3, 26.6.1 refer to `file directive
Date: Sun, 16 Mar 2003 08:35:06 +0200

I came across the attached old mails on this.

Shalom

---------- Forwarded message ----------
Date: Tue, 23 Oct 2001 09:04:06 -0700 (PDT)
From: Paul Graham <pgraham@cadence.com>
To: btf@boyd.com
Subject: `file?

On page 634 of the IEEE 1364-2001 document:

3 The properties vpiDefLineNo and vpiDefFile can be affected by the `line
and `file compile directives. See Clause 19 for more details on these
compiler directives.

There is no `file directive, is there?

Paul


Date: Tue, 23 Oct 2001 11:50:07 -0500
From: Adam Krolnik <krolnik@lsil.com>
To: pgraham@cadence.com, btf@boyd.com
Subject: Re: `file?

Hi Paul;

You are correct - that is old language...

It started out being called the 'line and file' directive.
the directive `line takes it all in now.

The properties vpiDefLineNo and vpiDefFile are affected by the `line
directive.

The properties vpiLineNo and vpiFile also should be affected by the
`line directive, no?!

Can anyone explain the difference between these two sets of attributes?


Date: Tue, 23 Oct 2001 11:41:23 -0600
From: Dennis Marsa <drm@xilinx.com>
To: Adam Krolnik <krolnik@lsil.com>
Cc: pgraham@cadence.com, btf@boyd.com
Subject: Re: `file?

Adam Krolnik wrote:
>
>
> Hi Paul;
>
> You are correct - that is old language...
>
> It started out being called the 'line and file' directive.
> the directive `line takes it all in now.
>
> The properties vpiDefLineNo and vpiDefFile are affected by the `line
> directive.
>
> The properties vpiLineNo and vpiFile also should be affected by the
> `line directive, no?!

Section 26.3.3 on page 627 makes the same statement for vpiLineNo
and vpiFile.

> Can anyone explain the difference between these two sets of attributes?

For modules, vpiDefLineNo/vpiDefFile refer to the location of the module
definition; whereas vpiLineNo/vpiFile refer to the location where the module
is instantiated

The exception is if the module is a top-level module, then they both refer
to the location of the module definition.

I don't know if there is explicit language anywhere documenting this, but
this is the behavior I have observed with Verilog-XL and it seems like
a reasonable interpretation.

Analyzed by etf@boyd.com on Thu Mar 27 14:07:27 2003
Detailed analysis:

The PLI section mentions the `file compiler directive in 2 places:


Section 26.3.3


"The properties vpiLineNo and vpiFile can be affected by the ‘line and ‘file compiler directives. See Section 19 for
more details on these compiler directives. These properties are applicable to every object that corresponds to some
object within the HDL. The exceptions are objects of type:..."



Section 26.6.1 Module:
"Note #3:
3—The properties vpiDefLineNo and vpiDefFile can be affected by the `line and `file compiler directives. See Section 19 for
more details on these compiler directives."

Section 19.7 describes the 'line directive.
The 'line directive syntax contains both the line number
and the file name.
There is no 'file directive


Unformatted






Hosted by Boyd Technology