Re: [sv-bc] Proposal for 23 uploaded

From: Steven Sharp <sharp@cadence.com>
Date: Tue Nov 09 2004 - 11:00:31 PST

The text of the proposal seems to assume that $display and related tasks
have only a single format argument. This is not the case. They can have
zero or more format strings mixed with arguments to be printed using the
formats (or with the default format if there is no associated format
descriptor to be used, either because there was no format string or because
it didn't have a format descriptor for all the arguments).

Sorting out these mixed format strings and arguments to be printed relies
on the formats being string literals. Only $sformat accepts a variable as
a format. If string objects cannot be printed as integral values, then it
may be possible to allow string objects as formats and still sort out the
formats from the arguments. However, this is still a significant change to
the behavior of those tasks.

Steven Sharp
sharp@cadence.com
Received on Tue Nov 9 11:00:36 2004

This archive was generated by hypermail 2.1.8 : Tue Nov 09 2004 - 11:00:50 PST