Forum Discussion
Altera_Forum
Honored Contributor
13 years agoWell I thought a signal is declared once and elaborated once only at function call.
Actually, I am now lost badly even with the basic meaning of initialisation. I know a register can be initialised so that the value appears at powerup on first sample before it is driven on following clock edge. I know a constant always needs a value (not exactly initial) and translates to wires. But if a combinatorial signal or variable is initialised yet it is meant to be neither register nor latch so what does initial value actually mean. Initial at time 0 ?? sample 0 ?? and how is it going to be implemented. I think the best approach as you said is to not put that initial value there and spare initiating the headache of explaining the mystery latches.