Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- In general, we don't want to give an initial value to a variable since it is ignored by the synthesize tools. --- Quote End --- What makes you say that? FPGAs configure from bit-streams, and those bitstreams define the register states at power-on. Most devices power-up with registers set to 0, but if you initialize a signal to 1, the synthesis tool will use 'not gate pushback' to invert the input and output to the register, so as far as your logic is concerned, the register powers up to your initialized value of 1. Cheers, Dave