Subject: [sv-cc] default values limitations for function/task arguments
From: Francoise Martinolle (fm@cadence.com)
Date: Mon Feb 24 2003 - 08:43:42 PST
Andrzej,
I was reviewing some changes proposed by the EC to the chapter 10 (task and
function),
it appears that default values can only be provided for singular
non-composite arguments.
I remember that you had some questions about which kind of default values
could be
provided.
SystemVerilog allows a subroutine declaration to specify a default value
for each singular (non-packed-array) argument.
Previously the singular was defined as:
A singular type includes packed arrays (and structures) and all other data
types except unpacked structures, unpacked arrays, and handles (used for
the C interface).
Francoise
'
This archive was generated by hypermail 2b28 : Mon Feb 24 2003 - 08:44:24 PST