enhancement/595: Ability to initialize variables to 0, 1, or random instead of X

From: Shalom Bresticker (Shalom.Bresticker@freescale.com)
Date: Mon Jul 19 2004 - 02:50:01 PDT

  • Next message: eric_mahurin@yahoo.com: "errata/596: ambiguous operands in expressions (A.8.3)"

    >Number: 595
    >Category: enhancement
    >Originator: Shalom Bresticker <Shalom.Bresticker@freescale.com>
    >Description:

    This came up in discussion of priorities group.

    It is useful to be able to change the default initialization of variables from
    X to 0 or to 1 or to a random value.
    Some studies suggest that it improves detection of bugs due to uninitialized or
    wrongly reset signals.

    We discussed a new idea of compiler directives for
    initialization of variables to 0 or 1 or random. Some tools do this today
    by a command-line switch. Both methods have advantages and disadvantages.
    An advantage of compiler directives is that they can be selective, i.e.,
    on part of the design. A disadvantage is that it involves touching the
    design files. We recommend this for further consideration with
    priority MEDIUM.



    This archive was generated by hypermail 2.1.4 : Mon Jul 19 2004 - 02:50:19 PDT and
    sponsored by Boyd Technology, Inc.