EDA.org Mantis
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Date Submitted Last Update
0000594 [SystemVerilog P1800] SV-EC major 2005-03-23 17:29 2008-05-14 23:41
Reporter Steven Sharp View Status public  
Assigned To doug_warmke
Priority immediate Resolution fixed  
Status closed   Product Version
Summary 0000594: 15.8 special syntax for accessing interfaces through clocking block
Description Erratum entered for another reviewer.

Section 15.8 describes in great detail a special syntax for use in accessing items within interfaces through a clocking block. Unfortunately, this special syntax is not supported by the BNF.

Further, it would be inadvisable for the BNF to support this special syntax. Essentially the syntax allows a hierarchical identifier to be used in defining a local clockvar variable. This significantly breaks the entire concept of using '.' as a separator between scope or members. Rather than have such a special syntax this semantic functionality can simply be achieved through the use of a hierarchical identifier as described by section 15.4.

We can, however, understand that the user may wish to have special syntax used for interacting with interfaces. A much more consistent way to achieve this would be to follow the standard scoping rules of Verilog and create an additional sub-scope within a clocking block. In fact we could even re-use the keyword interface to achieve this.

Broken Example:

 module M(interface I, wire clk);
   clocking block @(clk);
     input I.signal; // broken syntax
   endclocking
 endmodule

Recommended Syntax to achieve the same functionality:

module M(interface I, wire clk);

 clocking block @(clk);
   interface I;
     input signal; // working syntax
   endinterface;
 endclocking
endmodule

Note that if the above recommendation can not be achieved, then the next best recommendation is to remove section 15.8 from the LRM and simply use the functionality of section 15.4 to access within interfaces. It is not recommended that we attempt to footnote this or somehow squeeze it into the BNF.
Additional Information Approved on October/9/2006 unanimously.
594_1.pdf is approved.
Updated Status/Resolution field according to SV_DB_process guide.
Resolved.Fixed. Text change/addition.
Tags No tags attached.
Type Errata
Attached Files htm file icon SV-594.htm [^] (39,494 bytes) 2006-09-09 14:20
htm file icon SV-594-1.htm [^] (41,779 bytes) 2006-10-09 12:40
pdf file icon SV-594-1.pdf [^] (30,637 bytes) 2006-10-09 12:58
htm file icon SV-594-1_forD3a.htm [^] (45,180 bytes) 2007-08-17 14:18
pdf file icon SV-594-1_forD3a.pdf [^] (24,119 bytes) 2007-08-17 14:18

- Relationships

-  Notes
User avatar (0002944)
doug_warmke (developer)
2006-09-09 14:22

Uploaded attached proposal.
The proposal shows how the section would look without the
special syntax that is not allowed in the BNF. Without that
special syntax, though, this section doesn't contribute any
new features, rules, or restrictions to the language.
Instead it seems to serve only as a style guideline on how
one can effectively use interfaces, programs, and clocking
blocks together. That isn't bad in my opinion. However, one
might argue for the deletion of the entire section. That
would be OK with me, too.
User avatar (0004057)
Dave Rich (manager)
2007-08-07 17:29

15.8 is now 14.9.
User avatar (0004121)
doug_warmke (developer)
2007-08-17 14:17

Made changes in section numbering to correspond to P1800-2008_draft3a.
User avatar (0004448)
Neil Korpusik (administrator)
2007-09-10 18:34

Sent back to the Technical Committee by the Champions in the August 15, 2007
conference call (a large number of Mantis items were sent back as a group).
No specific issues raised - requested Technical Committee to re-check.
User avatar (0004449)
Neil Korpusik (administrator)
2007-09-10 18:34

Unanimously approved by the Champions in the August 29, 2007 email vote
User avatar (0004450)
Neil Korpusik (administrator)
2007-09-10 18:34

Unanimously approved by the P1800 Working Group in the August 30, 2007
conference call.
User avatar (0004457)
Neil Korpusik (administrator)
2007-09-11 10:01

Attempting to get to Editor status (by way of review)
User avatar (0004803)
Stuart Sutherland (manager)
2007-10-03 19:56

Corrected in P1800-2008 draft 4.
User avatar (0006835)
mehdi_mohtashemi (manager)
2008-05-14 23:40

Verirfied in Draft5.

- Issue History
Date Modified Username Field Change
2005-03-23 17:29 Steven Sharp New Issue
2005-03-23 17:29 Steven Sharp Type => Errata
2005-04-13 08:08 chas Priority normal => immediate
2006-09-09 14:19 doug_warmke Status new => assigned
2006-09-09 14:19 doug_warmke Assigned To => doug_warmke
2006-09-09 14:20 doug_warmke File Added: SV-594.htm
2006-09-09 14:22 doug_warmke Note Added: 0002944
2006-09-09 23:33 shalom Issue Monitored: shalom
2006-10-09 12:31 doug_warmke Summary 16.8 special syntax for accessing interfaces through clocking block => 15.8 special syntax for accessing interfaces through clocking block
2006-10-09 12:31 doug_warmke Description Updated
2006-10-09 12:40 doug_warmke File Added: SV-594-1.htm
2006-10-09 12:58 doug_warmke File Added: SV-594-1.pdf
2006-10-22 21:31 mehdi_mohtashemi Status assigned => resolved
2006-10-22 21:31 mehdi_mohtashemi Resolution open => fixed
2006-10-22 21:31 mehdi_mohtashemi Additional Information Updated
2007-08-07 17:29 Dave Rich Note Added: 0004057
2007-08-17 14:17 doug_warmke Status resolved => feedback
2007-08-17 14:17 doug_warmke Resolution fixed => reopened
2007-08-17 14:17 doug_warmke Note Added: 0004121
2007-08-17 14:18 doug_warmke File Added: SV-594-1_forD3a.htm
2007-08-17 14:18 doug_warmke File Added: SV-594-1_forD3a.pdf
2007-08-17 14:19 doug_warmke Status feedback => resolved
2007-08-17 14:19 doug_warmke Resolution reopened => fixed
2007-09-10 18:34 Neil Korpusik Note Added: 0004448
2007-09-10 18:34 Neil Korpusik Note Added: 0004449
2007-09-10 18:34 Neil Korpusik Note Added: 0004450
2007-09-10 18:34 Neil Korpusik Status resolved => approved
2007-09-11 10:01 Neil Korpusik Note Added: 0004457
2007-09-11 10:01 Neil Korpusik Status approved => review
2007-09-11 10:02 Neil Korpusik Status review => editor
2007-10-03 19:56 Stuart Sutherland Status editor => completed
2007-10-03 19:56 Stuart Sutherland Fixed in Version => P1800-2008/D4
2007-10-03 19:56 Stuart Sutherland Note Added: 0004803
2008-05-14 23:40 mehdi_mohtashemi Note Added: 0006833
2008-05-14 23:40 mehdi_mohtashemi Note Added: 0006834
2008-05-14 23:40 mehdi_mohtashemi Note Added: 0006835
2008-05-14 23:41 mehdi_mohtashemi Status completed => closed
2008-05-14 23:42 mehdi_mohtashemi Note Deleted: 0006833
2008-05-14 23:42 mehdi_mohtashemi Note Deleted: 0006834


Mantis 1.1.7[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker