errata/518: PROPOSAL - Modifying vpi_get_time description

From: Garnett, Jim (jimg@model.com)
Date: Tue May 04 2004 - 09:30:00 PDT

  • Next message: Charles Dawson: "PTF meeting minutes for 5/3/2004"

    The following reply was made to PR errata/518; it has been noted by GNATS.

    From: "Garnett, Jim" <jimg@model.com>
    To: ptf-bugs@boyd.com
    Cc:
    Subject: errata/518: PROPOSAL - Modifying vpi_get_time description
    Date: Tue, 04 May 2004 09:48:18 -0700

     There was a question as to whether vpi_get_time would return the
     time of a scheduled event if provided with an object of type
     vpiTimeQueue. The answer is yes, and the LRM currently describes
     this in section 26.4 Table 210 where it describes vpi_get_time as
     follows:
     
        Find the current simulation time or the scheduled time
        of future events
     
     The vpi_get_time description does not include any reference to what
     is returned when the 'obj' is a time queue object. Thus, I propose the
     following change in the description.
     
     FROM:
     
        The VPI routine vpi_get_time() shall retrieve the current simulation
     time,
        using the time scale of the object. If obj is NULL, the simulation
     time is
        retrieved using the simulation time unit. The time_p->type ...
     
     TO:
     
        The VPI routine vpi_get_time() shall retrieve the current simulation
     time,
        using the time scale of the object. If obj is NULL, the current
     simulation
        time is retrieved using the simulation time unit. If obj is a time queue
        object, the scheduled time of the future event is retrieved using the
        simulation time unit. The time_p->type ...
     
     Regards,
     
        Jim Garnett
     



    This archive was generated by hypermail 2.1.4 : Tue May 04 2004 - 09:30:05 PDT and
    sponsored by Boyd Technology, Inc.