ISSUE 65

Number 65
Category errata
Synopsis error in task_declaration syntax
State lrmdraft
Class errata-simple
Arrival-DateDec 16 2001
Originator Paul Graham <pgraham@cadence.com>
Release 2001b: A.2.7, 10.2.1 (Syntax 10-1)
Environment
Description
The LRM gives this syntax for task:

task_declaration ::= (From Annex A - A.2. )
TASK [ AUTOMATIC ] task_identifier ;
{ task_item_declaration }
statement
ENDTASK

In fact, it should be statement_or_null, not statement, since verilog-xl
accepts a task with a null statement:

module m;
task t;
;
endtask
endmodule
Fix

In Syntax 10-1 of 10.2.1 and in A.2.7,
change each of the four occurrences of

"statement"

to

"statement_or_null"

Note that this change applies ONLY to tasks and NOT to
functions, because functions MUST contain at least one
statement, an assignment to the function output.
Audit-Trail
Unformatted


Hosted by Boyd Technology