errata/288: PROPOSAL - 4.1.14: replication operator and function calls

From: brad.pierce@synopsys.com
Date: Tue Nov 02 2004 - 15:19:54 PST

  • Next message: Shalom.Bresticker@freescale.com: "enhancement/354: PROPOSAL - There is no $feof function"

    REPLACE

    If the replication operator is used on a function
    call operand, the function need not be evaluated
    multiple times. For example:

       result = {4{func(w)}

    may be computed as

       result = { func(w), func(w), func(w), func(w)}

    or

       y = func(w) ;
       result = { y, y, y, y}

    This is another form of expression evaluation
    short-circuiting.

    WITH

    When a replication expression is evaluated, the
    operand shall be evaluated exactly once, even if
    the replication constant is zero.

    http://boydtechinc.com/cgi-bin/issueproposal.pl?cmd=view&database=default&pr=288



    This archive was generated by hypermail 2.1.4 : Tue Nov 02 2004 - 15:20:16 PST and
    sponsored by Boyd Technology, Inc.