Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHow big is zahl1?
You should initialize v_summe at the beginning of the function too, I don't understand how Modelsim can give you an answer other than XXXXX when you do arithmetics on uninitialized vectors. I also assume that you are using the non standard std_logic_(un)signed library. You should consider using numeric_std instead and the signed/unsigned types, this is the recommended way.