Re: PTF meeting minutes for 9/8/2003

From: Shalom.Bresticker@motorola.com
Date: Fri Sep 19 2003 - 01:26:55 PDT

  • Next message: Shalom.Bresticker@motorola.com: "Re: enhancement/481: define standard preprocessor"

    Precedence: bulk

    > Are parameters allowed in automatic tasks? Chas/Stu to ask VSG.

    I assume you mean parameter declarations.

    There is no reason for parameters not to be allowed in automatic tasks.

    In terms of BNF syntax, parameters can be declared in tasks,
    and there is no difference in the syntax between automatic and static
    tasks.

    In terms of overwriting them, you could not overwrite them.
    Static task parameters can be overriden by defparams, but you cannot do
    defparams to automatic tasks because you cannot do hierarchical references
    into automatic tasks.

    Other than the inability to overwrite them, parameters in automatic tasks
    have the same advantages as everywhere else, e.g., use of symbolic names
    for constants, and the need to change in only one place when you want to
    change the value.

    -- 
    Shalom Bresticker                           Shalom.Bresticker@motorola.com
    Design & Reuse Methodology                             Tel: +972 9 9522268
    Motorola Semiconductor Israel, Ltd.                    Fax: +972 9 9522890
    POB 2208, Herzlia 46120, ISRAEL                       Cell: +972 50 441478
    


    This archive was generated by hypermail 2.1.4 : Fri Sep 19 2003 - 00:38:52 PDT and
    sponsored by Boyd Technology, Inc.