RE: [sv-ec] $psprintf $psdisplay // In VCS not in P1800

From: <Ryan.S.Warner_at_.....>
Date: Wed Oct 25 2006 - 09:25:17 PDT
Which is an undesireable limitation, IMO.  $sformat was changed in the
P1800 LRM to support strings, I think the PLI should be changed to support
returning them from functions as well.

Ryan

owner-sv-ec@server.eda.org wrote on 10/25/2006 11:09:59 AM:

> The PLI version would also have to be non-standard because the current
> PLI does not allow a function to return a SV string type.
>
> Dave
>
>
> > -----Original Message-----
> > From: owner-sv-ec@server.eda.org [mailto:owner-sv-ec@server.eda.org]
> On
> > Behalf Of Stuart Sutherland
> > Sent: Wednesday, October 25, 2006 8:20 AM
> > To: chris.spear@synopsys.com
> > Cc: sv-ec@server.eda-stds.org
> > Subject: FW: [sv-ec] $psprintf $psdisplay // In VCS not in P1800
> >
> >
> > Chris,
> >
> > Is there any chance that you have, or will, add PLI versions of these
> > non-standard system tasks that are used in the VMM, but only exist in
> VCS?
> > They would go hand-in-hand with your PLI file I/O library.
> >
> > Stu
> > ~~~~~~~~~~~~~~~~~~~~~~~~~
> > Stuart Sutherland
> > stuart@sutherland-hdl.com
> > +1-503-692-0898
> >
> > -----Original Message-----
> > From: owner-sv-ec@server.eda.org [mailto:owner-sv-ec@server.eda.org]
> On
> > Behalf Of vhdlcohen@aol.com
> > Sent: Wednesday, October 25, 2006 6:46 AM
> > To: shalom.bresticker@intel.com; sv-ec@server.eda-stds.org
> > Subject: Re: [sv-ec] $psprintf $psdisplay // In VCS not in P1800
> >
> >  Shalom,
> > The only documentation I saw is in the VMM book:
> > "VCS provides the $psprintf() function that returns the formatted
> string
> > instead of writing it into a string, like $sformat() does. This
> function
> > can
> > be used with the message macros, to display messages with runtime
> > formatted
> > content. The macros are designed to invoke the $psprintf() function
> only
> > if
> > the message will be issued, as per this recommendation.
> > Example 4-27. Using a Macro and the $psprintf() System Function
> > 'vmm_debug(this.log,
> > $psprintf("Buffering TX Frame at 'h%h:\n%s",
> > tx_pnt, fr.psdisplay(" ")));"
> >
> >  Ben
> >
> >
> > -----Original Message-----
> > From: shalom.bresticker@intel.com
> > To: vhdlcohen@aol.com; sv-ec@server.eda-stds.org
> > Sent: Wed, 25 Oct 2006 6:01 AM
> > Subject: RE: [sv-ec] $psprintf $psdisplay // In VCS not in P1800
> >
> >
> > Ben,
> >
> > I saw this thread on the Verification Guild.
> >
> > However, I did not find these tasks documented in VCS documentation.
> Can
> > you
> > tell me where they are documented?
> >
> > In any case, they might require official Synopsys agreement to publish
> > their
> > specification.
> >
> > Thanks,
> > Shalom
> >
> > ________________________________
> >
> > From: owner-sv-ec@server.eda.org [mailto:owner-sv-ec@server.eda.org]
> On
> > Behalf Of vhdlcohen@aol.com
> > Sent: Wednesday, October 25, 2006 2:53 PM
> > To: sv-ec@server.eda-stds.org
> > Subject: [sv-ec] $psprintf $psdisplay // In VCS not in P1800
> >
> > Any possibility that these functions be added to the LRM? Please see
> > following link for discussion:
> >
> http://verificationguild.com/modules.php?name=Forums&file=viewtopic&t=14
> 53
> > Thanks,
> >
> ------------------------------------------------------------------------
> --
> > -
> > Ben Cohen Trainer, Consultant, Publisher (831) 345-1759
> > http://www.systemverilog.us/ ben_ f rom _systemverilog.us
> >
> > ________________________________
> >
> > size=2 width="100%" align=center>
> > Check out the new AOL
> >
> <http://pr.atwola.com/promoclk/1615326657x4311227241x4298082137/aol?redi
> r=
> > ht
> > tp%3A%2F%2Fwww%2Eaol%2Ecom%2Fnewaol> . Most comprehensive set of free
> > safety
> > and security tools, free access to millions of high-quality videos
> from
> > across the web, free AOL Mail and more.
> > ________________________________
> >
> > Check out the new AOL
> >
> <http://pr.atwola.com/promoclk/1615326657x4311227241x4298082137/aol?redi
> r=
> > ht
> > tp%3A%2F%2Fwww%2Eaol%2Ecom%2Fnewaol> . Most comprehensive set of free
> > safety
> > and security tools, free access to millions of high-quality videos
> from
> > across the web, free AOL Mail and more.
> >
>
>
Received on Wed Oct 25 09:26:07 2006

This archive was generated by hypermail 2.1.8 : Wed Oct 25 2006 - 09:26:26 PDT