Add Proposal | Add Analysis | Edit Class, Environment, or Release |
Number | 595
|
Category | enhancement
|
Synopsis | Ability to initialize variables to 0, 1, or random instead
|
State | open
|
Class | enhancement
|
Arrival-Date | Jul 19 2004
|
Originator | Shalom Bresticker <Shalom.Bresticker@freescale.com>
|
Release | 2001b
|
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. |
Fix |
Unknown |
Unformatted |
of X |
Hosted by Boyd Technology