|Add Proposal||Add Analysis||Edit Class, Environment, or Release|
|Synopsis|| Ability to initialize variables to 0, 1, or random instead
|Arrival-Date||Jul 19 2004
|Originator|| Shalom Bresticker <Shalom.Bresticker@freescale.com>
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
Hosted by Boyd Technology